mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix Nautil.us (cookies)
This commit is contained in:
parent
2069a6c515
commit
dda8dde350
@ -7,6 +7,7 @@ Add Haas Mediengruppe (opt-in to custom sites)
|
||||
Remove Griffith Review (fix obsolete)
|
||||
Fix Gannett Group (identify sites)
|
||||
Fix LesEchos.fr (json)
|
||||
Fix Nautil.us (cookies)
|
||||
|
||||
* v3.1.2.0 (2023-04-02)
|
||||
Add Epicurious (Conde Nast)
|
||||
|
@ -3710,19 +3710,8 @@ else if (matchDomain('nationalreview.com')) {
|
||||
}
|
||||
|
||||
else if (matchDomain('nautil.us')) {
|
||||
let hidden_images = document.querySelectorAll('img[src^="data:image"][data-src]');
|
||||
for (let hidden_image of hidden_images)
|
||||
hidden_image.src = hidden_image.getAttribute('data-src');
|
||||
let empty_video_iframes = document.querySelectorAll('iframe[src="about:blank"][data-litespeed-src]');
|
||||
for (let empty_video_iframe of empty_video_iframes)
|
||||
empty_video_iframe.src = empty_video_iframe.getAttribute('data-litespeed-src');
|
||||
window.setTimeout(function () {
|
||||
let banners = document.querySelectorAll('div[class^="a__sc-np"], div.subscibe-bar');
|
||||
removeDOMElement(...banners);
|
||||
let overflows = document.querySelectorAll('html[style], body[style]');
|
||||
for (let overflow of overflows)
|
||||
overflow.removeAttribute('style');
|
||||
}, 1000);
|
||||
let banners = document.querySelectorAll('div[class^="a__sc-np"], div.subscibe-bar');
|
||||
removeDOMElement(...banners);
|
||||
}
|
||||
|
||||
else if (matchDomain('newleftreview.org')) {
|
||||
|
3
sites.js
3
sites.js
@ -1377,8 +1377,7 @@ var defaultSites = {
|
||||
},
|
||||
"Nautilus": {
|
||||
domain: "nautil.us",
|
||||
allow_cookies: 1,
|
||||
block_js_inline: /\/nautil\.us\/((\w)+(\-)+){3,}/
|
||||
remove_cookies_select_drop: ["arc", "sfa"]
|
||||
},
|
||||
"NOZ/MHN Mediengruppe": {
|
||||
domain: "###_de_noz_mhn",
|
||||
|
@ -65,6 +65,10 @@
|
||||
"remove_cookies_select_drop": ["TID_ID"],
|
||||
"block_regex": "(\\.margriet\\.nl\\/temptation\\/resolve|temptation\\.margriet\\.nl\\/temptation\\.js)"
|
||||
},
|
||||
"Nautilus": {
|
||||
"domain": "nautil.us",
|
||||
"remove_cookies_select_drop": ["arc", "sfa"]
|
||||
},
|
||||
"Revue Conflits": {
|
||||
"domain": "revueconflits.com",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user