extension: Register navigator polyfill script with allFrames: true

This causes the browser to inject our polyfill script into iframes
as well as the main document. This ensures that we can always inject
the fake 'Shockwave Flash' plugin before the page's javascript has
a change to check 'navigator.plugins'

This fixes an inconsistent 'Flash Player Missing' error on
7Road Wartune
This commit is contained in:
Aaron Hill 2024-08-12 09:52:45 -04:00
parent f51dcf8d55
commit d483fc876c
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ async function enable() {
"https://*.edgenuity.com/*",
],
runAt: "document_start",
allFrames: true,
world: "MAIN",
},
{