mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:11:56 +01:00
Fix TheTimes.co.uk (overlay)
Update popup (Google Search Tool)
This commit is contained in:
parent
c49d835b40
commit
4c9dfb6488
7 changed files with 11 additions and 7 deletions
|
@ -6,7 +6,9 @@ Post-release
|
|||
Add GauchaZH
|
||||
Add VmnMedia.nl Group (opt-in to custom sites)
|
||||
Remove Weltkunst.de (fix obsolete)
|
||||
Fix TheTimes.co.uk (overlay)
|
||||
Fix TownNews sites (encrypted)
|
||||
Update popup (Google Search Tool)
|
||||
|
||||
* v3.1.9.0 (2023-05-21)
|
||||
Remove (custom) Substack (fix obsolete)
|
||||
|
|
|
@ -2737,6 +2737,7 @@ else if (matchDomain('thetimes.co.uk')) {
|
|||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
waitDOMAttribute('body', 'BODY', 'style', node => node.removeAttribute('style'), true);
|
||||
waitDOMAttribute('html', 'HTML', 'style', node => node.removeAttribute('style'), true);
|
||||
}
|
||||
let paywall_page = document.querySelector('div#paywall-portal-page-footer');
|
||||
let block = document.querySelector('.subscription-block');
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.9.3"
|
||||
"version": "3.1.9.4"
|
||||
}
|
||||
|
|
|
@ -752,5 +752,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.9.3"
|
||||
"version": "3.1.9.4"
|
||||
}
|
||||
|
|
|
@ -84,7 +84,8 @@ function showArchiveLinks() {
|
|||
let archive_array = {
|
||||
'Archive.today': 'https://archive.today?run=1&url=' + url_enc,
|
||||
'Google webcache': 'https://webcache.googleusercontent.com/search?q=cache:' + url_enc,
|
||||
'12ft.io': 'https://12ft.io/' + url
|
||||
'12ft.io': 'https://12ft.io/' + url,
|
||||
'Google Search Tool\n(use online html-viewer - no fix)': 'https://search.google.com/test/rich-results?url=' + url_enc
|
||||
};
|
||||
let archive_id = document.querySelector('span#archive');
|
||||
if (archive_id) {
|
||||
|
@ -93,7 +94,7 @@ function showArchiveLinks() {
|
|||
let elem_div = document.createElement('div');
|
||||
let elem = document.createElement('a');
|
||||
elem.innerText = key;
|
||||
if (!(matchDomain(['12ft.io', 'googleusercontent.com'], hostname) || hostname.match(/^archive\.\w{2}$/))) {
|
||||
if (!(matchDomain(['12ft.io', 'google.com', 'googleusercontent.com'], hostname) || hostname.match(/^archive\.\w{2}$/))) {
|
||||
elem.href = archive_array[key];
|
||||
elem.target = '_blank';
|
||||
elem_div.appendChild(elem);
|
||||
|
|
2
sites.js
2
sites.js
|
@ -2124,7 +2124,7 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|\.telegraph\.co\.uk\/martech\/js\/|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
|
||||
},
|
||||
"The Times (UK; link to archive.is))": {
|
||||
"The Times (UK; link to archive.is)": {
|
||||
domain: "thetimes.co.uk",
|
||||
allow_cookies: 1
|
||||
},
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"addons": {
|
||||
"magnolia@12.34": {
|
||||
"updates": [
|
||||
{ "version": "3.1.8.0",
|
||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.1.8.0.xpi" }
|
||||
{ "version": "3.1.9.0",
|
||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.1.9.0.xpi" }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue