mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-02 15:40:13 +00:00
Fix repubblica.it after page reload
This commit is contained in:
parent
7b418cdfcb
commit
2825b184ae
@ -35,9 +35,9 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
|
||||
}
|
||||
|
||||
if (location.href.includes("/ws/detail/")) {
|
||||
const paywall = document.getElementsByClassName('paywall');
|
||||
if (paywall && paywall.length > 0) {
|
||||
paywall[0].toggleAttribute('amp-access-hide');
|
||||
const paywall = document.querySelector('.paywall[amp-access-hide]');
|
||||
if (paywall) {
|
||||
paywall.removeAttribute('amp-access-hide');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user