diff --git a/README.md b/README.md index 601730dc..bb75e24d 100644 --- a/README.md +++ b/README.md @@ -412,6 +412,7 @@ Grouped in options:\ [Il Fatto Quotidiano](https://www.ilfattoquotidiano.it) - [Il Manifesto](https://ilmanifesto.it) - [Il Secolo XIX](https://www.ilsecoloxix.it) - +[Internazionale](https://www.internazionale.it) - [Italian.tech](https://www.italian.tech) - [La Nuova Sardegna](https://www.lanuovasardegna.it) - [La Repubblica](https://www.repubblica.it) - diff --git a/changelog.txt b/changelog.txt index 41509c91..a25420c2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Artnet +Add Internazionale.it Fix The Business of Fashion Fix El Mundo & Groupe EBRA (amp-iframe) Fix Live Law (permission) diff --git a/manifest.json b/manifest.json index 850080e7..2ff64424 100644 --- a/manifest.json +++ b/manifest.json @@ -250,6 +250,7 @@ "*://*.inkl.com/*", "*://*.inquirer.com/*", "*://*.intelligentinvestor.com.au/*", + "*://*.internazionale.it/*", "*://*.intrafish.com/*", "*://*.italian.tech/*", "*://*.japantimes.co.jp/*", @@ -571,5 +572,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.4.5.5" + "version": "2.4.5.6" } diff --git a/options/optin/opt-in.js b/options/optin/opt-in.js index 82540ede..9c60f6aa 100644 --- a/options/optin/opt-in.js +++ b/options/optin/opt-in.js @@ -33,7 +33,7 @@ window.addEventListener("load", function () { var custom_enabled = document.getElementById('custom-enabled'); ext_api.permissions.contains({ - origins: [""] + origins: ["*://*/*"] }, function (result) { if (result) { custom_enabled.innerText = 'YES'; diff --git a/options/options_custom.js b/options/options_custom.js index 9d92b5b3..43bb68c5 100644 --- a/options/options_custom.js +++ b/options/options_custom.js @@ -341,7 +341,7 @@ function renderOptions() { var custom_enabled = document.getElementById('custom-enabled'); ext_api.permissions.contains({ - origins: [""] + origins: ["*://*/*"] }, function (result) { if (result) { custom_enabled.innerText = 'YES'; diff --git a/sites.js b/sites.js index 21191843..98150828 100644 --- a/sites.js +++ b/sites.js @@ -711,6 +711,11 @@ var defaultSites = { allow_cookies: 1, useragent: "googlebot" }, + "Internazionale.it": { + domain: "internazionale.it", + allow_cookies: 1, + block_regex: /\.internazionale\.it\/assets\/js\/main\.\d{2,}\.js/ + }, "Irish Independent (opt-in)": { domain: "independent.ie", allow_cookies: 1, diff --git a/sites_updated.json b/sites_updated.json index 07b77597..0f0820eb 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -22,11 +22,25 @@ "domain": "italian.tech", "group_rule": "###_gr_it_repubblica_domains" }, + "Internazionale.it": { + "domain": "internazionale.it", + "allow_cookies": 1, + "block_regex": "\\.internazionale\\.it\\/assets\\/js\\/main\\.\\d{2,}\\.js" + }, "The Business of Fashion": { "domain": "businessoffashion.com", "allow_cookies": 1, "block_regex": "\\.businessoffashion\\.com\\/pf\\/dist\\/components\\/combinations\\/2\\.chunk\\.js" }, + "The New Yorker": { + "domain": "newyorker.com", + "block_regex": "(\\.newyorker\\.com\\/verso\\/static\\/presenter-articles.+\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)", + "cs_code": [{ + "cond": "[subscriptions-section=\"content\"]", + "rm_attrib": "subscriptions-section" + } + ] + }, "The Spectator World": { "domain": "spectatorworld.com", "block_regex": "(cdn\\.cxense\\.com\\/|\\.tinypass\\.com\\/)"