mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +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
|
||||
|
||||
Post-release
|
||||
Fix Advance Local (no amp)
|
||||
|
||||
* v3.1.7.3 (2023-05-08)
|
||||
Remove Medienhaus Aachen (fix obsolete)
|
||||
|
|
|
@ -2924,6 +2924,8 @@ if (matchDomain(usa_adv_local_domains)) {
|
|||
} else {
|
||||
let paywall = document.querySelector('.paywall');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (!amphtml)
|
||||
amphtml = {href: window.location.pathname + '?outputType=amp'};
|
||||
if (paywall && amphtml) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = amphtml.href;
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.7.3"
|
||||
"version": "3.1.7.4"
|
||||
}
|
||||
|
|
|
@ -754,5 +754,5 @@
|
|||
"*://html.onlineviewer.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.7.3"
|
||||
"version": "3.1.7.4"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue