mirror of
https://github.com/NohamR/BetterYGG.git
synced 2026-01-10 08:18:19 +00:00
7 lines
389 B
JavaScript
7 lines
389 B
JavaScript
/* Inject scripts don't forget to add them to web_accessible_resources in manifest */
|
|
injectScript(chrome.extension.getURL('/contentScripts/allPages/accessAllPages.js'), 'head');
|
|
|
|
/* disable annoying fuckn popup */
|
|
popup = document.querySelector('div.ad-alert-wrapper');
|
|
if(popup && popup.style.display !== "none")
|
|
document.querySelector('button.ad-alert-message-continue-btn').click() |