Mozilla Firefox 拡張機能スレッド Part94©5ch.io
レス数が900を超えています。1000を超えると表示できなくなるよ。
0905名無しさん@お腹いっぱい。
2016/01/28(木) 23:12:01.73ID:4XV/Hbum0{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);
レス数が900を超えています。1000を超えると表示できなくなるよ。