[WIP] Using contentScripts API for conditional content script injection#1876
[WIP] Using contentScripts API for conditional content script injection#1876alexristich wants to merge 13 commits intomasterfrom
Conversation
…njection (only FF)
|
To summarize our chat, let's fix the fallback injection (fallback for Chrome/pre-59 Firefox/any other browser that doesn't have It would be nice to understand why the localStorage tracking detection tests are failing in pre-59 Firefoxes. Actual problem or just tests that need updating? Might be related to #1522. |
|
Do we need to switch to using |
|
Hmm, with your proposed approach we would have to maintain separate scripts, as there's no benefit in using Is this what you mean? Would this be preferable? |
|
It was an idea meant to reduce the amount of stuff that needs to change. I didn't consider that the scripts need to work differently though: messaging to get go-ahead with manifest injection, no messaging with |
|
Made some changes to pass the I'm not yet sure why these are occurring, as we appear to have the required permissions with In looking further at this, it is a significant change and I'm not sure we're benefitting much (if at all) from using I think if we are to proceed with this, maintaining two version of the scripts as discussed above is the most sensible approach. |
e09b8d5 to
ddeada1
Compare
See #1865.