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.

Author
Jefferson Scher
Daily installs
0
Total installs
63
Ratings
2 0 0
Version
0.5.1
Created
2016-12-31
Updated
2017-01-01
License
BSD 3-clause
Applies to
All sites

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 )