mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix Aftonbladet.se (link to archive.is)
This commit is contained in:
parent
79a7e47925
commit
cacd007a93
@ -9,6 +9,7 @@ Add PhiloMag.de
|
|||||||
Add ZeroHedge
|
Add ZeroHedge
|
||||||
Remove Entrepreneur (fix obsolete)
|
Remove Entrepreneur (fix obsolete)
|
||||||
Remove The-Village.ru (fix obsolete)
|
Remove The-Village.ru (fix obsolete)
|
||||||
|
Fix Aftonbladet.se (link to archive.is)
|
||||||
Fix Boston Globe (css)
|
Fix Boston Globe (css)
|
||||||
Fix Substack (split content)
|
Fix Substack (split content)
|
||||||
Fix Telegraaf.nl
|
Fix Telegraaf.nl
|
||||||
|
@ -861,7 +861,18 @@ else
|
|||||||
|
|
||||||
} else if (window.location.hostname.match(/\.(dk|fi|se)$/)) {//denmark/finland/sweden
|
} else if (window.location.hostname.match(/\.(dk|fi|se)$/)) {//denmark/finland/sweden
|
||||||
|
|
||||||
if (matchDomain('etc.se')) {
|
if (matchDomain(['aftonbladet.se'])) {
|
||||||
|
let url = window.location.href;
|
||||||
|
let paywall = document.querySelector('div.paywall');
|
||||||
|
if (paywall) {
|
||||||
|
removeDOMElement(paywall);
|
||||||
|
let article = document.querySelector('article');
|
||||||
|
if (article)
|
||||||
|
article.firstChild.before(archiveLink(url));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('etc.se')) {
|
||||||
let paywall = document.querySelector('div.paywalled');
|
let paywall = document.querySelector('div.paywalled');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
paywall.removeAttribute('class');
|
paywall.removeAttribute('class');
|
||||||
|
Loading…
Reference in New Issue
Block a user