mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 08:27:48 +01:00
9c721e4ef4
Plus fix-update MIT Sloan Management Review (modal)
9 lines
355 B
JavaScript
9 lines
355 B
JavaScript
var ext_api = chrome || browser;
|
|
document.getElementById("site_switch").addEventListener('click', function() {
|
|
ext_api.extension.getBackgroundPage().site_switch();
|
|
window.close();
|
|
});
|
|
document.getElementById("clear_cookies").addEventListener('click', function() {
|
|
ext_api.extension.getBackgroundPage().clear_cookies();
|
|
window.close();
|
|
});
|