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.

< 脚本Unfix Fixed Position Element on Firefox Context Menu的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发表于:2021-09-17
编辑于:2021-09-17

This is probably the best code to handle Fixed elements as it also allows to you to keep said element but prevent it from floating which also helps taking screen captures of the full webpage without said floating element ruining . I have never found anything like it elsewhere however it does not appear to work in Waterfox and FireMonkey. I don't know specifically if it is the combination of software or has it stopped working for other elsewhere since it so old now but if it could be updated that would be tremendous. Unfortunately I cannot even get the script to show in the context menu anymore.

Thanks for all the years of great scripts.

§
发表于:2021-09-17

I don't use Waterfox, but I just discovered that in Firefox 85+, you need to toggle dom.menuitem.enabled to true in about:config to manipulate the context menu from a website or userscript. Is Waterfox that up-to-date with changes in Firefox? You could check whether Waterfox has such a preference.

§
发表于:2021-09-18
编辑于:2021-09-18

It seem to be set to "true" under boolean in about:config I'm afraid. I do appreciate the effort though.

§
发表于:2021-09-18

This much I can confirm is working:

  • Firefox 92
  • FireMonkey
  • dom.menuitem.enabled => true

So it sounds like something about Waterfox, or if you modify context menus using userChrome.css, perhaps your style code.

§
发表于:2021-10-16

I tested the script on Librewolf and it works fine. It's a shame it doesn't work on Waterfox but what's a guy to do. You did good. Thanks for trying.

发表回复

登录以发表回复。