X



Firefox userChrome.js greasemonkeyスクリプトスレ36
■ このスレッドは過去ログ倉庫に格納されています
0001名無しさん@お腹いっぱい。
垢版 |
2017/12/07(木) 18:40:44.16ID:ibxaQNCz0
■前スレ
Firefox userChrome.js greasemonkeyスクリプトスレ35
https://egg.5ch.net/test/read.cgi/software/1506030128/

■拡張機能
Greasemonkey
https://addons.mozilla.org/firefox/addon/greasemonkey/
Tampermonkey
https://addons.mozilla.org/firefox/addon/tampermonkey/
Violentmonkey
https://addons.mozilla.org/firefox/addon/violentmonkey/
usi (User|Unified Script Injector)
https://addons.mozilla.org/firefox/addon/userunified-script-injector/
Userscripts.orgのミラーサイト (ミラー元の http://userscripts.org/ は閉鎖)
https://userscripts-mirror.org/
OpenUserJS.org
https://openuserjs.org/
Greasy Fork
https://greasyfork.org/

userChrome.js用スクリプト - wiki@nothing 【Firefox57以降におけるuserChrome.js用スクリプト利用方法はこちらを参照】
http://wiki.nothing.sh/page/userChrome.js%CD%D1%A5%B9%A5%AF%A5%EA%A5%D7%A5%C8

"alta88's userChromeJS"
http://userchromejs.mozdev.org/
userChromeJS フォーラム
http://forums.mozillazine.org/viewtopic.php?t=1006795
"zeniko's userChrome.js"
http://mozilla.zeniko.ch/userchrome.js.html
userChrome.js フォーラム
http://forums.mozillazine.org/viewtopic.php?t=397735
http://forums.mozillazine.org/viewtopic.php?t=556229
0207名無しさん@お腹いっぱい。
垢版 |
2017/12/21(木) 09:54:18.74ID:mRjiyeuf0
>>206
それOpenNewTab.uc.jsでなってたのか
うちの57.0.2もあるときから一日数回ブックマークと履歴が
全く反応しなくなってて何が原因なのか結局わからなくて

ただ今はOpenNewTab.uc.j入れてるけど
ブックマークと履歴から開けなくなるということはなくなってる
なぜなのかもわからない
0211名無しさん@お腹いっぱい。
垢版 |
2017/12/21(木) 12:18:46.81ID:fEKgGhXu0
>>209
ほんとだウィンドウ開くとなるね
0214名無しさん@お腹いっぱい。
垢版 |
2017/12/21(木) 13:13:41.17ID:gMLRV1Yn0
GrabScroll_Fx29.uc.xul ってfx57だと動きませんんか?
手のアイコンは表示されてメニューも出るんだけど、肝心のドラッグが出来なくて
0222名無しさん@お腹いっぱい。
垢版 |
2017/12/21(木) 17:33:38.15ID:fEKgGhXu0
>>217
>>218
うち環境だと囲ったら問題解消しましたよ!まじ感謝
こんな感じです

if (!PlacesUIUtils.__org_openNodeIn) {
PlacesUIUtils.__org_openNodeIn = PlacesUIUtils._openNodeIn;
PlacesUIUtils._openNodeIn = function(aNode, aWhere, aWindow, aPrivate) {
if (aWhere == 'current' && !isTabEmpty(gBrowser.selectedTab)) aWhere = 'tab';
if (/^javascript:/.test(aNode.uri)) aWhere = 'current';
return this.__org_openNodeIn(aNode, aWhere, aWindow, aPrivate);
}
}
0227名無しさん@お腹いっぱい。
垢版 |
2017/12/21(木) 20:00:46.18ID:4G0QisNB0
631,632行目を以下に書き換える
get isActive(){
if (!this.userDisabled) return true;
return false;
},
get userDisabled(){
if(!this.enabled) return true;
return false;
},

681行目を以下に書き換える
if (attr) Object.keys(attr).forEach(function(n){ el.setAttribute(n, attr[n])});
0230228
垢版 |
2017/12/21(木) 21:01:45.30ID:5t81XQAv0
ごめん、681行目から修正すべきだった。
59でも正常に動きました。
ありがとう。
0233名無しさん@お腹いっぱい。
垢版 |
2017/12/23(土) 13:45:34.69ID:a3E8hLtA0
if (aWhere == 'current' && !isTabEmpty(gBrowser.selectedTab)) aWhere = 'tab';



let win = Services.wm.getMostRecentWindow("navigator:browser");
if (aWhere == 'current' && !win.isTabEmpty(win.gBrowser.selectedTab)) aWhere = 'tab';

(1行追加, 1行修正)とすればいい
■ このスレッドは過去ログ倉庫に格納されています

ニューススポーツなんでも実況