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)/, 'sloanreview.mit.edu': /(\.tinypass\.com\/|\/sloanreview\.mit\.edu\/.+\/welcome-ad\.js)/,
'spectator.co.uk': /\.tinypass\.com\//, 'spectator.co.uk': /\.tinypass\.com\//,
'spectator.com.au': /\.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/, 'svz.de': /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\.js/,
'technologyreview.com': /\.blueconic\.net\//, '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)/, '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/, 'theartnewspaper.com': /\.amazonaws.com\/production-website-scripts\/bouncer\.js/,
'thedailybeast.com': /\.tinypass\.com\//, 'thedailybeast.com': /\.tinypass\.com\//,
'theglobeandmail.com': /smartwall\.theglobeandmail\.com\//,
'thehindu.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/, 'thehindu.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'thehindubusinessline.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/, 'thehindubusinessline.com': /(cdn\.cxense\.com\/|\.tinypass\.com\/)/,
'thenation.com': /\.tinypass\.com\//, 'thenation.com': /\.tinypass\.com\//,

View file

@ -6,6 +6,7 @@ Remove The Northern Star (obsolete)
Fix-update Atlantico.fr Fix-update Atlantico.fr
Fix-update Boston Globe (no opt-in) Fix-update Boston Globe (no opt-in)
Fix-update Foreign Policy Fix-update Foreign Policy
Fix-update The Globe and Mail
Fix-update The Spectator UK (amp) Fix-update The Spectator UK (amp)
* v2.2.5.0 (2021-06-13) * v2.2.5.0 (2021-06-13)
@ -411,7 +412,7 @@ Add Westfaelische Rundschau
Fix-update Australian Financial Review (images) Fix-update Australian Financial Review (images)
Fix-update Domani (Italy) Fix-update Domani (Italy)
Fix-update El Pais (Spain) 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 The Hindu (menu)
Fix-update WSJ Fix-update WSJ
Fix custom sites Googlebot-fix (after reload) Fix custom sites Googlebot-fix (after reload)
@ -429,8 +430,8 @@ Minor update opt-in UI
Add Business Times (Singapore) Add Business Times (Singapore)
Add Domani (Italy) Add Domani (Italy)
Add Variety Add Variety
Fix-update Globe and Mail
Fix-update MIT Technology Review (overlay) Fix-update MIT Technology Review (overlay)
Fix-update The Globe and Mail
* v1.8.6.0 (2020-09-14) * v1.8.6.0 (2020-09-14)
Add Star Tribune Add Star Tribune
@ -516,7 +517,7 @@ Add Business Standard (India)
Add Geelong Advertiser & Western Advocate (plus grouping Australian sites) Add Geelong Advertiser & Western Advocate (plus grouping Australian sites)
Add Nautilus Add Nautilus
Add Newsweek Add Newsweek
Fix-update Globe and Mail (postfix premium links) Fix-update The Globe and Mail (postfix premium links)
Update paywall scripts: MatherAnalytics Update paywall scripts: MatherAnalytics
* v1.7.7.0 (2020-06-28) * v1.7.7.0 (2020-06-28)
@ -544,19 +545,19 @@ Add BBC History Extra
Add Discover Magazine Add Discover Magazine
Add Irish Independent Add Irish Independent
Add Republic.ru Add Republic.ru
Fix-update Globe and Mail (cleanup)
Fix-update Telegraph.co.uk (cookies) Fix-update Telegraph.co.uk (cookies)
Fix-update The Globe and Mail (cleanup)
Fix-update TheTimes.co.uk (cookies) Fix-update TheTimes.co.uk (cookies)
* v1.7.4.0 (2020-06-04) * v1.7.4.0 (2020-06-04)
Add ElMundo.es (amp for premium) Add ElMundo.es (amp for premium)
Fix-update Boston Globe Fix-update Boston Globe
Fix-update DeMorgen.be (overlay) Fix-update DeMorgen.be (overlay)
Fix-update Globe and Mail (premium-only)
Fix-update Medium (banner) Fix-update Medium (banner)
Fix Medium custom domains Fix Medium custom domains
Fix-update SeekingAlpha (limit robot-captcha) Fix-update SeekingAlpha (limit robot-captcha)
Fix-update Spectator.co.uk (amp for premium) 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 New option to block external Javascript for custom sites
Add block general paywall scripts: BlueConic, OneCount, Qiota & TribDss. Remove Outbrain. Add block general paywall scripts: BlueConic, OneCount, Qiota & TribDss. Remove Outbrain.
@ -729,15 +730,14 @@ Add Tech in Asia
Add The Athletic Add The Athletic
Fix Australian Financial Review (enable Javascript/photos) Fix Australian Financial Review (enable Javascript/photos)
Fix Caixin Global Fix Caixin Global
Fix Globe and Mail
Fix LeParisien.fr (block TinyPass paywall) Fix LeParisien.fr (block TinyPass paywall)
Fix LesEchos.fr (block TinyPass) Fix LesEchos.fr (block TinyPass)
Fix-update Globe and Mail
Fix Economist (Javascript/cookies) Fix Economist (Javascript/cookies)
Fix Handelsblatt (Googlebot) Fix Handelsblatt (Googlebot)
Fix-update MIT Tech Review Fix-update MIT Tech Review
Fix Newcastle Herald (+ new domain) Fix Newcastle Herald (+ new domain)
Fix NYTimes (layout) Fix NYTimes (layout)
Fix The Globe and Mail
Fix Toronto Star (enable Javascript) Fix Toronto Star (enable Javascript)
Fix banners on TheTimes.co.uk, Bloomberg, Asia Nikkei, Haaretz.com & Hbr.org Fix banners on TheTimes.co.uk, Bloomberg, Asia Nikkei, Haaretz.com & Hbr.org
Fix-update Statistica & Bloomberg Quint (manifest) 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 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'); let adverts = document.querySelectorAll('#ad-article-inline, #sticky-ad-header, div[class*="InlineAdWrapper"], div[class*="NativeAd"], div.responsiveweb-sc-1exejum-0');
removeDOMElement(block, ...adverts); 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'); let paywall = document.querySelector('div#paywall-portal-article-footer');
if (paywall) { if (paywall && !url.includes('?shareToken=')) {
removeDOMElement(paywall); removeDOMElement(paywall);
let text_fail_div = document.createElement('div'); let text_fail_div = document.createElement('div');
text_fail_div.appendChild(document.createTextNode('BPC > Read full article text:\r\n')); text_fail_div.appendChild(document.createTextNode('BPC > Read full article text:\r\n'));

View file

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