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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Jefferson Scher
今日安裝
0
安裝總數
68
評價
2 0 0
版本
0.5.1
建立日期
2016-12-31
更新日期
2017-01-01
尺寸
4.8 KB
授權條款
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 )