Fix Financial Times (cookie-banner)

master
magnolia1234 2022-06-27 21:16:39 +02:00
parent 5a34531798
commit 945b010c14
5 changed files with 16 additions and 5 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Add BQ Prime (former Bloomberg Quint)
Fix Financial Times (cookie-banner)
Fix Knack.be & LeVif.be
Fix Times of India (no amp)
@ -1008,7 +1009,7 @@ Add Chronicle of Higher Education
Add Diario Financiero (Chile)
Add El Mercurio de Valparaiso (Chile)
Fix MIT Technology Review
Remove copy-notice in copied text of Financial Times (ft.com)
Fix Financial Times (remove copy-notice)
Update show options on update (now optional)
* v1.8.2.0 (2020-08-23)
@ -1179,7 +1180,7 @@ Fix WSJ (cookie-fix)
* v1.6.4.4 (2020-03-15)
Add The Athletic UK
Add Il Messaggero (Italy)
Fix Financial Times (ft.com)
Fix Financial Times
Update (custom)options UI
Fix Corriere della Sera
Fix custom sites (domains with capitals)

View File

@ -2864,7 +2864,7 @@ else if (matchDomain('ft.com')) {
if (window.location.hostname.startsWith('amp.')) {
amp_unhide_subscr_section('.ad-container, amp-ad');
} else {
let cookie_banner = document.querySelector('.o-banner__outer');
let cookie_banner = document.querySelector('.o-cookie-message');
let ribbon = document.querySelector('.js-article-ribbon');
let ads = document.querySelector('.o-ads');
removeDOMElement(cookie_banner, ribbon, ads);

View File

@ -43,5 +43,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.7.3.2"
"version": "2.7.3.3"
}

View File

@ -675,5 +675,5 @@
"*://*.wsj.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.7.3.2"
"version": "2.7.3.3"
}

View File

@ -10,6 +10,16 @@
"amp_unhide": 1,
"new_site": 1
},
"Financial Times (not Chinese)": {
"domain": "ft.com",
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js",
"useragent": "googlebot",
"cs_code": [{
"cond": ".o-cookie-message",
"rm_elem": 1
}
]
},
"Initium Media": {
"domain": "theinitium.com",
"allow_cookies": 1,