diff --git a/README.md b/README.md index e3e46c7..9b9fd14 100644 --- a/README.md +++ b/README.md @@ -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) - diff --git a/background.js b/background.js index 5c1507c..0d00b67 100644 --- a/background.js +++ b/background.js @@ -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\/.+/, diff --git a/contentScript.js b/contentScript.js index 80e24f1..bd2a8e9 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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) { diff --git a/lp/manifest.json b/lp/manifest.json index bbecb3c..c538032 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -152,6 +152,7 @@ "*://*.lesechos.fr/*", "*://*.lesoir.be/*", "*://*.liberation.fr/*", + "*://*.limesonline.com/*", "*://*.livemint.com/*", "*://*.loebclassics.com/*", "*://*.lopinion.fr/*", diff --git a/sites.js b/sites.js index 3d569d4..613d196 100644 --- a/sites.js +++ b/sites.js @@ -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",