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.

Verze ze dne 17. 09. 2021. Zobrazit nejnovější verzi.

Autor
Jefferson Scher
Hodnocení
0 0 0
Verze
0.5.1
Vytvořeno
31. 12. 2016
Aktualizováno
17. 09. 2021
Size
4,8 KB
Licence
BSD 3-clause
Spustit na
všech stránkách

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 )