Darken

Add menuitem into browser context menu to darken the web page. For Firefox 11.0 and newer only.

< 腳本Darken的回應

提問/評論

§
發表於:2014-03-05
編輯:2014-03-06

Conflicting with Menu Editor

Sorry, LouC, the script doesn't work for me. See the shots:

before script

Capture.png

after script/restart:

1.png

See how it shows all menuitems, including those hidden by EM and those that don't even suppose to show by default (like Play sound?)... but nothing like 'Darken' or something like that i'd expect.
Fx 28b8
Scriptish 0.1.11

§
發表於:2014-03-05
編輯:2014-03-05

Works fine on Fx 30.0a1 Nightly, Scriptish 0.1.11

§
發表於:2014-03-05
編輯:2014-04-05

Yeah, it works for me in a clean profile. Might be a conflict with Menu Editor, can't think of anything else.
But i installed the CB button. I had one, modified to hide a tab context on a click instead (don't ask me what i did, i just looked at its code and can't figure what it was! ... ). And now i have this one too.
Anyway, if somebody else get's the same, might worth asking if they use ME 'cause i think it might be the prob but not willing to test in another profile.
Thanks anyway! I'm changing the thread title.

I've found it:
var css = '@namespace url("' + xulns + '");\
#main-window[stylish-domain="' + domain + '"] #browser {\
background-color: rgba(10,10,10, .5) !important;\
}\
#main-window[stylish-domain="' + domain + '"] #content {\
opacity: 0 !important;\
}';

LouCypher作者
§
發表於:2014-03-06
編輯:2014-03-06

It's known ME's bug.

Menu Editor makes HTML5 context menu not showing
https://www.mozdev.org/bugs/show_bug.cgi?id=25332

§
發表於:2014-03-06

I see. I'm good with the button, thanks!

§
發表於:2014-03-06

Thanks, LouCypher ... love the script!

§
發表於:2014-04-05

Doesn't work for me on a clean/fresh FF 28 profile.
Tested both with Scriptish & Greasemonkey.

§
發表於:2014-05-21

發表回覆

登入以回復