xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
989 stars 85 forks source link

fix extensionOptionsMenu right-clicking not cancel default popup #90

Closed garywill closed 2 years ago

garywill commented 3 years ago

Right clicking to disable an addon, the browser default context menu would popup. Now cancel the default popup.

xiaoxiaoflood commented 3 years ago

Which version are you using? I'm in Fx 91 and can't reproduce the described issue. With current script in the repo, right-clicking a menuitem toggles the relative addon, EOM menu remains visible and no other contextmenu is displayed. As intended.

garywill commented 3 years ago

I was using 78 ESR

garywill commented 3 years ago

I think it's nothing about version. It's about OS. I just tested on Firefox 91 on Linux. It had that context menu problem on Linux

xiaoxiaoflood commented 3 years ago

I don't have Linux here to test, but I'll try your code and if it works for me I'll apply it just in case.

benyaminl commented 3 years ago

image This is also happen on Nightly 93. this's what it mean right @garywill ?