mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Add Autocar.co.uk
This commit is contained in:
parent
bde827ec73
commit
8ee8ada8a7
7 changed files with 30 additions and 4 deletions
|
@ -410,6 +410,7 @@ Grouped in options:\
|
|||
[Follow the Money (ftm.eu)](https://www.ftm.eu)
|
||||
|
||||
##### United Kingdom/Ireland
|
||||
[Autocar](https://www.autocar.co.uk) -
|
||||
[Belfast Telegraph](https://www.belfasttelegraph.co.uk) -
|
||||
[Business Post](https://www.businesspost.ie) -
|
||||
[Citywire](https://www.citywire.com) -
|
||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||
|
||||
Post-release
|
||||
Add Autocar.co.uk
|
||||
Add Crikey.com.au
|
||||
Fix EUobserver (css)
|
||||
Fix Grupo Vocento (limit amp-redirect)
|
||||
|
|
|
@ -2520,7 +2520,18 @@ else
|
|||
|
||||
} else if (window.location.hostname.match(/\.(ie|uk)$/) || matchDomain(['citywire.com', 'ft.com', 'scotsman.com', 'tes.com'])) {//united kingdom/ireland
|
||||
|
||||
if (matchDomain(['belfasttelegraph.co.uk', 'independent.ie'])) {
|
||||
if (matchDomain('autocar.co.uk')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('div.ms-block, div.register-block');
|
||||
if (paywall) {
|
||||
removeDOMElement(paywall);
|
||||
csDoneOnce = true;
|
||||
let url_cache = 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0];
|
||||
replaceDomElementExt(url_cache, true, false, 'div.content-wrapper');
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain(['belfasttelegraph.co.uk', 'independent.ie'])) {
|
||||
let flip_pay = document.querySelector('div#flip-pay[style]');
|
||||
if (flip_pay && dompurify_loaded) {
|
||||
let content = document.querySelector('script[data-fragment-type="ArticleContent"]');
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.2.7.4"
|
||||
"version": "3.2.7.5"
|
||||
}
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
"*://*.atlantico.fr/*",
|
||||
"*://*.augsburger-allgemeine.de/*",
|
||||
"*://*.auto-motor-und-sport.de/*",
|
||||
"*://*.autocar.co.uk/*",
|
||||
"*://*.automobilwoche.de/*",
|
||||
"*://*.autonews.com/*",
|
||||
"*://*.autoplus.fr/*",
|
||||
|
@ -772,5 +773,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.2.7.4"
|
||||
"version": "3.2.7.5"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -185,6 +185,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /\.auto-motor-und-sport\.de\/thenewsbar\/static\/pw\.js/
|
||||
},
|
||||
"Autocar.co.uk": {
|
||||
domain: "autocar.co.uk",
|
||||
allow_cookies: 1,
|
||||
cs_dompurify: 1
|
||||
},
|
||||
"Automobilwoche": {
|
||||
domain: "automobilwoche.de",
|
||||
allow_cookies: 1,
|
||||
|
|
|
@ -25,7 +25,14 @@
|
|||
"Auto Motor und Sport": {
|
||||
"domain": "auto-motor-und-sport.de",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.auto-motor-und-sport\\.de\\/thenewsbar\\/static\\/pw\\.js"
|
||||
"block_regex": "\\.auto-motor-und-sport\\.de\\/thenewsbar\\/static\\/pw\\.js",
|
||||
"new_site": 1
|
||||
},
|
||||
"Autocar.co.uk": {
|
||||
"domain": "autocar.co.uk",
|
||||
"allow_cookies": 1,
|
||||
"ld_google_webcache": "div.ms-block,div.register-block|div.content-wrapper",
|
||||
"new_site": 1
|
||||
},
|
||||
"Automobilwoche": {
|
||||
"domain": "automobilwoche.de",
|
||||
|
|
Loading…
Reference in a new issue