Firefox userChrome.js greasemonkeyスクリプトスレ 9
at SOFTWARE
987:名無しさん@お腹いっぱい。
09/09/24 08:58:47 fwIuGkW/0
>>978の修正パッチ
@@ -14,7 +14,7 @@
cacm.addEventListener('popupshowing', function() {
mitem.hidden = !re.test(gContextMenu.onLink ?
gContextMenu.linkURL : gContextMenu.isContentSelected ?
- getBrowserSelection() : gContextMenu.docURL);
+ getBrowserSelection() : gContextMenu.target.ownerDocument.location.href);
}, false);
nsContextMenu.prototype.openTubePlayer = function() {
var lf = Components.classes['@mozilla.org/file/local;1']
@@ -25,7 +25,8 @@
proc.init(lf);
var url = this.onLink ?
this.linkURL : this.isContentSelected ?
- 'http://' + getBrowserSelection().replace(/^h?ttp:\/\//, '') : this.docURL;
+ 'http://' + getBrowserSelection().replace(/^h?ttp:\/\//, '') :
+ this.target.ownerDocument.location.href;
proc.run(false, [url], 1);
};
})(); r
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5378日前に更新/314 KB
担当:undef