Grouping Haaretz sites

merge-requests/17/head
magnolia1234 5 months ago
parent a57708c6d9
commit 5764995a96

@ -929,9 +929,12 @@ Grouped in options:\
##### Israel
[Globes](https://www.globes.co.il) -
[The Jerusalem Post](https://www.jpost.com)
Grouped in options:\
*Haaretz Group* sites like\
[Haaretz.co.il](https://www.haaretz.co.il) -
[Haaretz.com](https://www.haaretz.com) -
[The Jerusalem Post](https://www.jpost.com) -
[The Marker](https://www.themarker.com)
#### Latin America

@ -500,7 +500,7 @@ ext_api.storage.local.get({
} else {
ext_api.management.getSelf(function (result) {
if ((result.installType === 'development' || (result.installType !== 'development' && !enabledSites.includes('#options_on_update')))) {
let new_groups = ['###_au_investsmart', '###_es_epiberica'];
let new_groups = ['###_au_investsmart', '###_es_epiberica, ###_il_haaretz_group'];
let open_options = new_groups.some(group => !enabledSites.includes(group) && grouped_sites[group].some(domain => enabledSites.includes(domain) && !customSites_domains.includes(domain)));
if (open_options)
ext_api.runtime.openOptionsPage();

@ -17,6 +17,7 @@ Fix London Review of Books (js-inline)
Fix Media Group Westfalen
Fix National Review (cookies)
Fix NYmag-sites (js)
Grouping Haaretz sites
Enable optional host permissions on Android (Firefox 120+)
Update ld_json_url (default url)

@ -1020,13 +1020,13 @@ var defaultSites = {
"lanuovasardegna.it"
]
},
"Haaretz English": {
domain: "haaretz.com",
allow_cookies: 1,
useragent: "facebookbot"
},
"Haaretz": {
domain: "haaretz.co.il",
"Haaretz Group": {
domain: "###_il_haaretz_group",
group: [
"haaretz.co.il",
"haaretz.com",
"themarker.com"
],
allow_cookies: 1,
useragent: "facebookbot"
},
@ -2346,11 +2346,6 @@ var defaultSites = {
allow_cookies: 1,
useragent: "googlebot"
},
"The Marker": {
domain: "themarker.com",
allow_cookies: 1,
useragent: "facebookbot"
},
"The Market.ch": {
domain: "themarket.ch",
allow_cookies: 1,

Loading…
Cancel
Save