Doesn't work with Firefox 107
VasoVV opened this issue Β· comments
The developing tools harassment in FF is coming back. π±π±π±
It seems the addon stops working after upgrading to the 107 version or maybe even an earlier one.
Tested on Firefox 107.0 x64 under Windows 11 and Kubuntu 22.04.
It still is working for me on Windows 10. Two things that could affect any version:
- If the selection has moved out of the page -- the script only intercepts keyboard shortcuts directed to the page.
- If the extension is not enabled in private windows and the selection is in a private window. (Extensions in Private Browsing)
Okay, I've made some experiments and found that it doesn't work partially:
- In empty tabs and firefox special tabs (like Password, Settings, etc)
- While the page has not loaded completely
- When some pop-ups are active on a webpage (such as Twitter Login Prompts)
- Maybe with some web apps (I've faced an issue on AWS training and certification in the course body)
Okay, I've made some experiments and found that it doesn't work partially:
* In empty tabs and firefox special tabs (like Password, Settings, etc)
That makes sense, since add-ons are restricted from injecting scripts into built-in pages.
* While the page has not loaded completely
By default, content scripts do not load until "document_idle" which is after the full load: https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/content_scripts
Should I override that and load earlier? My thought was that if the extension script loads last, it would override any page scripts that intercept the same shortcut. Maybe it wouldn't be a problem.
* When some pop-ups are active on a webpage (such as Twitter Login Prompts)
I wasn't able to replicate this, but you might be seeing a different dialog than I do.
* Maybe with some web apps (I've faced an issue on [AWS training and certification](https://explore.skillbuilder.aws) in the course body)
Does Ctrl+C work on the page?
Just in case they are using PDFs, the add-on also cannot inject the script into the built-in PDF viewer.
The first and the second items are not issues just observations.
* When some pop-ups are active on a webpage (such as Twitter Login Prompts)
I wasn't able to replicate this, but you might be seeing a different dialog than I do.
Steps to reproduce on Twitter:
- Run FF in Private mode (just for a clean experiment. Be sure that the addon has permission to work in this mode)
- Go to twitter.com
- Press
Ctrl+Shift+C
. Nothing happens β that's good. - Open any user profile and scroll down through twits until Twitter Login Prompt has appeared.
- Press
Ctrl+Shift+C
. And the annoying dev tool window is raising up.
* Maybe with some web apps (I've faced an issue on [AWS training and certification](https://explore.skillbuilder.aws) in the course body)
Does Ctrl+C work on the page?
Yes
Just in case they are using PDFs, the add-on also cannot inject the script into the built-in PDF viewer.
Got it