Add Internazionale.it

This commit is contained in:
magnolia1234 2021-12-03 17:21:08 +01:00
parent 9e9d2b6fc9
commit 840ebef584
7 changed files with 25 additions and 3 deletions

View File

@ -412,6 +412,7 @@ Grouped in options:\
[Il Fatto Quotidiano](https://www.ilfattoquotidiano.it) - [Il Fatto Quotidiano](https://www.ilfattoquotidiano.it) -
[Il Manifesto](https://ilmanifesto.it) - [Il Manifesto](https://ilmanifesto.it) -
[Il Secolo XIX](https://www.ilsecoloxix.it) - [Il Secolo XIX](https://www.ilsecoloxix.it) -
[Internazionale](https://www.internazionale.it) -
[Italian.tech](https://www.italian.tech) - [Italian.tech](https://www.italian.tech) -
[La Nuova Sardegna](https://www.lanuovasardegna.it) - [La Nuova Sardegna](https://www.lanuovasardegna.it) -
[La Repubblica](https://www.repubblica.it) - [La Repubblica](https://www.repubblica.it) -

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add Artnet Add Artnet
Add Internazionale.it
Fix The Business of Fashion Fix The Business of Fashion
Fix El Mundo & Groupe EBRA (amp-iframe) Fix El Mundo & Groupe EBRA (amp-iframe)
Fix Live Law (permission) Fix Live Law (permission)

View File

@ -250,6 +250,7 @@
"*://*.inkl.com/*", "*://*.inkl.com/*",
"*://*.inquirer.com/*", "*://*.inquirer.com/*",
"*://*.intelligentinvestor.com.au/*", "*://*.intelligentinvestor.com.au/*",
"*://*.internazionale.it/*",
"*://*.intrafish.com/*", "*://*.intrafish.com/*",
"*://*.italian.tech/*", "*://*.italian.tech/*",
"*://*.japantimes.co.jp/*", "*://*.japantimes.co.jp/*",
@ -571,5 +572,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.4.5.5" "version": "2.4.5.6"
} }

View File

@ -33,7 +33,7 @@ window.addEventListener("load", function () {
var custom_enabled = document.getElementById('custom-enabled'); var custom_enabled = document.getElementById('custom-enabled');
ext_api.permissions.contains({ ext_api.permissions.contains({
origins: ["<all_urls>"] origins: ["*://*/*"]
}, function (result) { }, function (result) {
if (result) { if (result) {
custom_enabled.innerText = 'YES'; custom_enabled.innerText = 'YES';

View File

@ -341,7 +341,7 @@ function renderOptions() {
var custom_enabled = document.getElementById('custom-enabled'); var custom_enabled = document.getElementById('custom-enabled');
ext_api.permissions.contains({ ext_api.permissions.contains({
origins: ["<all_urls>"] origins: ["*://*/*"]
}, function (result) { }, function (result) {
if (result) { if (result) {
custom_enabled.innerText = 'YES'; custom_enabled.innerText = 'YES';

View File

@ -711,6 +711,11 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
useragent: "googlebot" useragent: "googlebot"
}, },
"Internazionale.it": {
domain: "internazionale.it",
allow_cookies: 1,
block_regex: /\.internazionale\.it\/assets\/js\/main\.\d{2,}\.js/
},
"Irish Independent (opt-in)": { "Irish Independent (opt-in)": {
domain: "independent.ie", domain: "independent.ie",
allow_cookies: 1, allow_cookies: 1,

View File

@ -22,11 +22,25 @@
"domain": "italian.tech", "domain": "italian.tech",
"group_rule": "###_gr_it_repubblica_domains" "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": { "The Business of Fashion": {
"domain": "businessoffashion.com", "domain": "businessoffashion.com",
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "\\.businessoffashion\\.com\\/pf\\/dist\\/components\\/combinations\\/2\\.chunk\\.js" "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": { "The Spectator World": {
"domain": "spectatorworld.com", "domain": "spectatorworld.com",
"block_regex": "(cdn\\.cxense\\.com\\/|\\.tinypass\\.com\\/)" "block_regex": "(cdn\\.cxense\\.com\\/|\\.tinypass\\.com\\/)"