Add LimesOnline (it/en)

This commit is contained in:
magnolia1234 2020-08-21 09:41:41 +02:00
parent 3b9dafff4f
commit 9c47a1761a
5 changed files with 14 additions and 1 deletions

View file

@ -216,7 +216,8 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid.
[Il Messaggero](https://www.ilmessaggero.it) -
[La Repubblica](https://www.repubblica.it) -
[La Stampa](https://www.lastampa.it) -
[Le Scienze](https://www.lescienze.it)
[Le Scienze](https://www.lescienze.it) -
[LimesOnline (it/en)](https://www.limesonline.com)
##### Netherlands/Flanders
[Algemeen Dagblad](https://www.ad.nl) and regional ADR sites like
[BN DeStem](https://www.bndestem.nl) -

View file

@ -45,6 +45,7 @@ var allow_cookies = [
'knack.be',
'lc.nl',
'lesoir.be',
'limesonline.com',
'lrb.co.uk',
'mexiconewsdaily.com',
'modernhealthcare.com',
@ -179,6 +180,7 @@ var blockedRegexes = {
'lejdd.fr': /.+\.poool\.fr\/.+/,
'leparisien.fr': /.+\.tinypass\.com\/.+/,
'lesechos.fr': /.+\.tinypass\.com\/.+/,
'limesonline.com': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
'livemint.com': /(.+\.livemint\.com\/js\/localWorker\.js|analytics\.htmedia\.in\/analytics-js\/.+\.js)/,
'lopinion.fr': /.+\.poool\.fr\/.+/,
'lrb.co.uk': /.+\.tinypass\.com\/.+/,

View file

@ -1005,6 +1005,14 @@ else if (matchDomain("noordhollandsdagblad.nl")) {
}, 500); // Delay (in milliseconds)
}
else if (matchDomain("limesonline.com")) {
window.setTimeout(function () {
let url = window.location.href;
if (url.includes('prv=true'))
window.location.href = new URL(url).pathname;
}, 500); // Delay (in milliseconds)
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

View file

@ -152,6 +152,7 @@
"*://*.lesechos.fr/*",
"*://*.lesoir.be/*",
"*://*.liberation.fr/*",
"*://*.limesonline.com/*",
"*://*.livemint.com/*",
"*://*.loebclassics.com/*",
"*://*.lopinion.fr/*",

View file

@ -89,6 +89,7 @@ var defaultSites =
"Leeuwarder Courant": "lc.nl",
"Les Échos": "lesechos.fr",
"Libération (free articles only)": "liberation.fr",
"LimesOnline": "limesonline.com",
"LiveMint": "livemint.com",
"Loeb Classical Library": "loebclassics.com",
"London Review of Books": "lrb.co.uk",