mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 01:44:15 +01:00
Fix Advance Local (no amp)
This commit is contained in:
parent
f014deeb29
commit
c9a8dd155a
4 changed files with 5 additions and 2 deletions
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Fix Advance Local (no amp)
|
||||||
|
|
||||||
* v3.1.7.3 (2023-05-08)
|
* v3.1.7.3 (2023-05-08)
|
||||||
Remove Medienhaus Aachen (fix obsolete)
|
Remove Medienhaus Aachen (fix obsolete)
|
||||||
|
|
|
@ -2924,6 +2924,8 @@ if (matchDomain(usa_adv_local_domains)) {
|
||||||
} else {
|
} else {
|
||||||
let paywall = document.querySelector('.paywall');
|
let paywall = document.querySelector('.paywall');
|
||||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||||
|
if (!amphtml)
|
||||||
|
amphtml = {href: window.location.pathname + '?outputType=amp'};
|
||||||
if (paywall && amphtml) {
|
if (paywall && amphtml) {
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
window.location.href = amphtml.href;
|
window.location.href = amphtml.href;
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.7.3"
|
"version": "3.1.7.4"
|
||||||
}
|
}
|
||||||
|
|
|
@ -754,5 +754,5 @@
|
||||||
"*://html.onlineviewer.net/*",
|
"*://html.onlineviewer.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.7.3"
|
"version": "3.1.7.4"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue