magnolia1234 717fd43265 Add on/off-switch (popup)
Also hide double (custom) domain in options.
2020-08-20 19:00:57 +02:00

5 lines
172 B
JavaScript

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