Unfix Fixed Position Element on Firefox Context Menu

Add new item to top of right-click context menu to override position:fixed on elements in a page.

作者
Jefferson Scher
日安装量
0
总安装量
67
评分
2 0 0
版本
0.5.1
创建于
2016-12-31
更新于
2017-01-01
许可证
BSD 3-clause
适用于
所有网站

Experimental script for Firefox to get fixed position elements like menu bars out of your way. On most sites, setting them to Static will return them to their normal positions. In some cases, you may need to hide them if that doesn't work.

Note: If the site uses a custom context menu, this script backs off and does not modify the context menu.

Note: I don't know how to change the position of the new items on the menu.

Firefox 85+

In about:config, double-click the dom.menuitem.enabled preference to switch it to true if you want user scripts and website scripts to be able to add items to the context menu. (Ref. https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contextMenu#browser_compatibility )