Fix-update The Globe and Mail

This commit is contained in:
magnolia1234 2021-06-19 19:04:34 +02:00
parent 596c03ee7a
commit 866eb19556
4 changed files with 13 additions and 11 deletions

View file

@ -383,12 +383,13 @@ var blockedRegexes = {
'sloanreview.mit.edu': /(\.tinypass\.com\/|\/sloanreview\.mit\.edu\/.+\/welcome-ad\.js)/,
'spectator.co.uk': /\.tinypass\.com\//,
'spectator.com.au': /\.tinypass\.com\//,
'spectator.us': /(cdn\.cxense\.com\/|\.tinypass\.com\/.+)/,
'spectator.us': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'svz.de': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\.js/,
'technologyreview.com': /\.blueconic\.net\//,
'telegraph.co.uk': /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js|\.telegraph\.co\.uk\/.+\/piano.+\.js|assets\.adobedtm\.com\/.+\.js)/,
'theartnewspaper.com': /\.amazonaws.com\/production-website-scripts\/bouncer\.js/,
'thedailybeast.com': /\.tinypass\.com\//,
'theglobeandmail.com': /smartwall\.theglobeandmail\.com\//,
'thehindu.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'thehindubusinessline.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'thenation.com': /\.tinypass\.com\//,

View file

@ -6,6 +6,7 @@ Remove The Northern Star (obsolete)
Fix-update Atlantico.fr
Fix-update Boston Globe (no opt-in)
Fix-update Foreign Policy
Fix-update The Globe and Mail
Fix-update The Spectator UK (amp)
* v2.2.5.0 (2021-06-13)
@ -411,7 +412,7 @@ Add Westfaelische Rundschau
Fix-update Australian Financial Review (images)
Fix-update Domani (Italy)
Fix-update El Pais (Spain)
Fix-update Globe and Mail (FF for Android v68)
Fix-update The Globe and Mail (FF for Android v68)
Fix-update The Hindu (menu)
Fix-update WSJ
Fix custom sites Googlebot-fix (after reload)
@ -429,8 +430,8 @@ Minor update opt-in UI
Add Business Times (Singapore)
Add Domani (Italy)
Add Variety
Fix-update Globe and Mail
Fix-update MIT Technology Review (overlay)
Fix-update The Globe and Mail
* v1.8.6.0 (2020-09-14)
Add Star Tribune
@ -516,7 +517,7 @@ Add Business Standard (India)
Add Geelong Advertiser & Western Advocate (plus grouping Australian sites)
Add Nautilus
Add Newsweek
Fix-update Globe and Mail (postfix premium links)
Fix-update The Globe and Mail (postfix premium links)
Update paywall scripts: MatherAnalytics
* v1.7.7.0 (2020-06-28)
@ -544,19 +545,19 @@ Add BBC History Extra
Add Discover Magazine
Add Irish Independent
Add Republic.ru
Fix-update Globe and Mail (cleanup)
Fix-update Telegraph.co.uk (cookies)
Fix-update The Globe and Mail (cleanup)
Fix-update TheTimes.co.uk (cookies)
* v1.7.4.0 (2020-06-04)
Add ElMundo.es (amp for premium)
Fix-update Boston Globe
Fix-update DeMorgen.be (overlay)
Fix-update Globe and Mail (premium-only)
Fix-update Medium (banner)
Fix Medium custom domains
Fix-update SeekingAlpha (limit robot-captcha)
Fix-update Spectator.co.uk (amp for premium)
Fix-update The Globe and Mail (premium-only)
New option to block external Javascript for custom sites
Add block general paywall scripts: BlueConic, OneCount, Qiota & TribDss. Remove Outbrain.
@ -729,15 +730,14 @@ Add Tech in Asia
Add The Athletic
Fix Australian Financial Review (enable Javascript/photos)
Fix Caixin Global
Fix Globe and Mail
Fix LeParisien.fr (block TinyPass paywall)
Fix LesEchos.fr (block TinyPass)
Fix-update Globe and Mail
Fix Economist (Javascript/cookies)
Fix Handelsblatt (Googlebot)
Fix-update MIT Tech Review
Fix Newcastle Herald (+ new domain)
Fix NYTimes (layout)
Fix The Globe and Mail
Fix Toronto Star (enable Javascript)
Fix banners on TheTimes.co.uk, Bloomberg, Asia Nikkei, Haaretz.com & Hbr.org
Fix-update Statistica & Bloomberg Quint (manifest)

View file

@ -1454,9 +1454,10 @@ else if (matchDomain('thetimes.co.uk')) {
let block = document.querySelector('.subscription-block');
let adverts = document.querySelectorAll('#ad-article-inline, #sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.responsiveweb-sc-1exejum-0');
removeDOMElement(block, ...adverts);
let archive_url = 'https://archive.is?url=' + window.location.href;
let url = window.location.href;
let archive_url = 'https://archive.is?url=' + url;
let paywall = document.querySelector('div#paywall-portal-article-footer');
if (paywall) {
if (paywall && !url.includes('?shareToken=')) {
removeDOMElement(paywall);
let text_fail_div = document.createElement('div');
text_fail_div.appendChild(document.createTextNode('BPC > Read full article text:\r\n'));

View file

@ -525,5 +525,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.2.5.4"
"version": "2.2.5.5"
}