Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多
已解決 封存

Disable r-click context menus for one site (onshape) only ?

ysu replied
ysu

As per subject - is there a way?

As per subject - is there a way?
從原來的回覆中察看解決方案

選擇的解決方法

Oh, do you mean you set dom.event.contextmenu.enabled to false in about:config? I used to do that, but based on the sites I use, keeping the default setting of true and using Shift+right-click to bypass custom site menus when needed was more convenient.

所有回覆 (4)

Assuming you want to use Firefox's right-click menu on the site, bypassing the site's custom menu, hold the Shift key while right-clicking. It might also be possible to inject a script into the page that modifies how a plain right-click works, but that would take some analysis to figure out and program.

If that isn't what you meant, could you explain in more detail?

Thanks for your response. Sorry, actually the opposite.

I have the context menu (r-click menu) always-on, I have a problem it being disabled/overriden by websites being oftentimes deceptive.

However, I'd like to use Onshape (browser based CAD, at https://cad.onshape.com/ . I'm trying to migrate from fusion.)

And Onshape requires mouse gestures & context menus off for effective usage.

But now that I hear there's a shift+r-click option maybe I'll reverse things and try to get used to that method...

由 ysu 於 修改

選擇的解決方法

Oh, do you mean you set dom.event.contextmenu.enabled to false in about:config? I used to do that, but based on the sites I use, keeping the default setting of true and using Shift+right-click to bypass custom site menus when needed was more convenient.

Turns out I did, years ago.

I did not even remember it :)

Thanks again!