Fix Faz.net (Zeitung timing)

This commit is contained in:
magnolia1234 2022-09-08 16:31:08 +02:00
parent 3dfd3d5035
commit 4087e513f9
3 changed files with 5 additions and 5 deletions

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add PEI Media sites (opt-in to custom sites)
Fix Faz.net (Zeitung timing)
Fix TownNews sites (css)
* v2.8.3.0 (2022-09-04)

View file

@ -524,11 +524,10 @@ else if (matchDomain('faz.net')) {
if (matchDomain('zeitung.faz.net')) {
let paywall_z = document.querySelector('.c-red-carpet');
if (paywall_z) {
let og_url = document.querySelector('meta[property="og:url"]');
removeDOMElement(paywall_z);
let og_url = document.querySelector('meta[property="og:url"][content]');
if (og_url)
window.setTimeout(function () {
window.location.href = og_url.content;
}, 500);
window.location.href = og_url.content;
}
let sticky_advt = document.querySelector('.sticky-advt');
removeDOMElement(sticky_advt);

View file

@ -702,5 +702,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.3.1"
"version": "2.8.3.2"
}