Skip to content

Commit

Permalink
fix broken script
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Feb 28, 2021
1 parent cabf70d commit 94bff3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion playwright_stealth/js/chrome.runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const existsAlready = 'runtime' in window.chrome
// `chrome.runtime` is only exposed on secure origins
const isNotSecure = !window.location.protocol.startsWith('https')
if (!(existsAlready || (isNotSecure && !opts.runOnInsecureOrigins))) {
log.info('loading chrome.runtime.js')
window.chrome.runtime = {
// There's a bunch of static data in that property which doesn't seem to change,
// we should periodically check for updates: `JSON.stringify(window.chrome.runtime, null, 2)`
Expand Down

0 comments on commit 94bff3d

Please sign in to comment.