Closed theseanl closed 4 years ago
We need a dev build compatible with tampermonkey/violentmonkey
It is compatible with tampermonkey/violentmonkey.
Here is a simple instruction:
npm install -g http-server
gulp travis
http-server build
Go to http://127.0.0.1:8080/popupblocker.user.js
, then TM will offer a userscript installation.
To test the options page, you need to manually edit a line
return location.href === 'https://adguardteam.github.io/PopupBlocker/options.html';
in a function body of isOptionsPage
to smth like
return location.href === 'https://adguardteam.github.io/PopupBlocker/options.html' || location.host === '127.0.0.1:8080';
or whatever suits your environment.
Then the options page at http://127.0.0.1:8080/options.html
will detect the userscript.
@seanl-adg
@kaprielov
Homepage
(leads to github) and(c) AdGuard
(leads to adguard.com))