firefox userChrome.js greasemonkeyスクリプトスレ 2
■ このスレッドは過去ログ倉庫に格納されています
0414名無しさん@お腹いっぱい。
2007/09/08(土) 21:36:41ID:Yp75qNNs0userContent.js ver1.0の以下の行を
try{ SUBSCRIPT_LOADER.loadSubScript(this.url,new Namespace(obj)); return true; }
次の3行に置き換えると, >>382のスクリプトをそのまま書き換えずに使えます。
var namespace = new win.Function();
namespace.prototype = new Namespace(obj);
try{ SUBSCRIPT_LOADER.loadSubScript(this.url,new namespace()); return true; }
■ このスレッドは過去ログ倉庫に格納されています