bypass-paywalls-firefox-clean/popup.js
magnolia1234 21d466af9e Add on/off-switch (popup)
Also hide double (custom) domain in options.
2020-08-20 19:01:12 +02:00

4 lines
172 B
JavaScript

var ext_api = chrome || browser;
document.getElementById("site_switch").addEventListener('click', function() {
ext_api.extension.getBackgroundPage().site_switch();
});