Video DownloadHelper 4.9.24 修正改訂版(2016-01-28) マルチプロセス(e10s)対応、文字化け対応、メニュー不具合対応(■1-2)
{b9db16a4-6edc-47ec-a1f4-b86292ed211d}
1.[components\dhCore.js]
■1-1. 行1109-1110の前-後にtry-catchを追加する
try { // この行を追加
if(this.processors[i].enabled)
processors.appendElement(this.processors[i],false);
} catch (e) {}; // この行を追加
■1-2. 文字列置換('は含まない) 10ヶ所
検索文字列: 'this.data' 置換文字列: 'this.menupopup'
2.[local\modules\download-manager.jsm]
■2-1. 行127を修正
修正前: persist.saveURI(url,null, referrer, null, null,fileURL);
修正後: persist.saveURI(url, null, referrer, null, null, null, fileURL, loadContext); // 第4引数 null, 第8引数 loadContextを追加
3.[local\modules\network-probe.jsm]
■3-1. 文字列置換('は含まない) 5ヶ所
検索文字列: '(Components.interfaces.nsIDOMWindow)' 置換文字列: '(Components.interfaces.nsILoadContext).associatedWindow'
■3-2. 文字列置換('は含まない) 3ヶ所
検索文字列: 'contentLength,wnd' 置換文字列: 'contentLength,wnd,httpChannel'
■3-3. 文字列置換('は含まない) 2ヶ所
検索文字列: '.replace(/[^a-zA-Z0-9-]+/g,"_")' 置換文字列: ''
■3-4. 文字列置換('は含まない) 1ヶ所
検索文字列: '.replace(/[^a-zA-Z0-9\.\- ]/g,"_")' 置換文字列: ''
■3-5. 行271を修正
修正前:
filename=this.guessFileName(murl,contentType,contentDisp,wnd,extra);
修正後:
try {
filename = httpChannel.contentDispositionFilename;
} catch(e) {}
if (filename==null) filename=this.guessFileName(murl,contentType,contentDisp,wnd,extra);