Created
December 2, 2020 17:44
-
-
Save Trikolon/6415f1e8fd14606e3fa2c054ecc793e5 to your computer and use it in GitHub Desktop.
Webcompat intervention for https://bugzilla.mozilla.org/show_bug.cgi?id=1677442
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.info( | |
"window.indexedDB has been overwritten for compatibility reasons. See https://bugzilla.mozilla.org/show_bug.cgi?id=1677442 for details." | |
); | |
delete window.wrappedJSObject.indexedDB; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const AVAILABLE_INJECTIONS = [ | |
// ... | |
{ | |
id: "bug1677442", | |
platform: "desktop", | |
domain: "store.hp.com", | |
bug: "1677442", | |
contentScripts: { | |
matches: ["*://d3nkfb7815bs43.cloudfront.net/*forstore.hp.com*"], | |
js: [ | |
{ | |
file: "injections/js/bug1677442-store.hp.com-disable-indexeddb.js", | |
}, | |
], | |
allFrames: true, | |
}, | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment