mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean.git
synced 2023-10-21 07:33:45 -05:00
Add Bhaskar (India)
Update custom sites (ld_json: multi-entry array)
This commit is contained in:
@@ -881,6 +881,7 @@ Grouped in options:\
|
||||
|
||||
##### India
|
||||
[Bar and Bench](https://www.barandbench.com) -
|
||||
[Bhaskar](https://www.bhaskar.com) -
|
||||
[BQ Prime](https://www.bqprime.com) -
|
||||
[Business Standard](https://www.business-standard.com) -
|
||||
[Hindu Tamil Thisai](https://www.hindutamil.in) -
|
||||
|
||||
@@ -20,6 +20,7 @@ var blocked_referer = false;
|
||||
// defaultSites are loaded from sites.js at installation extension
|
||||
|
||||
var restrictions = {
|
||||
'bhaskar.com': /^((?!bhaskar\.com\/(.+\/)?video(s(\/)?$|\/)).)*$/,
|
||||
'bloomberg.com': /^((?!\.bloomberg\.com\/news\/terminal\/).)*$/,
|
||||
'bloombergadria.com': /^((?!\.bloombergadria\.com\/video\/).)*$/,
|
||||
'dailywire.com': /^((?!\.dailywire\.com\/(episode|show|videos|watch)).)*$/,
|
||||
|
||||
+4
-2
@@ -2,11 +2,13 @@
|
||||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add Bhaskar (India)
|
||||
Add Interesting Engineering
|
||||
Fix Media Group Westfalen
|
||||
Fix Mediahuis Nederland Regional (js)
|
||||
Fix NHST Media Group (js)
|
||||
Fix The Atlantic (images)
|
||||
Update custom sites (ld_json: multi-entry array)
|
||||
|
||||
* v3.3.6.0 (2023-10-01)
|
||||
Add Conde Nast Traveler
|
||||
@@ -19,7 +21,7 @@ Fix New Scientist (text-break)
|
||||
Fix NHST Media Group
|
||||
Fix The Hill Times (css)
|
||||
Update amp-redirect (disable loop)
|
||||
Update custom sites (import - remove obsolete)
|
||||
Update custom sites (import: remove obsolete)
|
||||
|
||||
* v3.3.5.0 (2023-09-24)
|
||||
Add Arkansas Democrat-Gazette
|
||||
@@ -30,7 +32,7 @@ Remove VentureBeat (no paywall)
|
||||
Fix MediaNews Group (identify sites)
|
||||
Fix The Week (css)
|
||||
Update block general paywall script (fix BlueConic)
|
||||
Update custom sites (import - ignore obsolete)
|
||||
Update custom sites (import: ignore obsolete)
|
||||
|
||||
* v3.3.4.0 (2023-09-17)
|
||||
Add Cambio Colombia
|
||||
|
||||
+13
-4
@@ -74,9 +74,12 @@ if (bg2csData.ld_json && dompurify_loaded) {
|
||||
let json = JSON.parse(json_script.text.replace(/[\r\n]/g, '').replace(/(\\r)?\\n/g, '<br>'));
|
||||
let json_key, json_text;
|
||||
if (Array.isArray(json)) {
|
||||
json = json.filter(x => json_key = Object.keys(x).find(key => key.match(/^articlebody$/i))) || json.filter(x => json_key = Object.keys(x).find(key => key.match(/^text$/i)));
|
||||
if (json_key)
|
||||
json_text = parseHtmlEntities(json[0][json_key]);
|
||||
json = json.filter(x => Object.keys(x).find(key => key.match(/^articlebody$/i))) || json.filter(x => Object.keys(x).find(key => key.match(/^text$/i)));
|
||||
if (json[0]) {
|
||||
json_key = Object.keys(json[0]).find(key => key.match(/^(articlebody|text)$/i));
|
||||
if (json_key)
|
||||
json_text = parseHtmlEntities(json[0][json_key]);
|
||||
}
|
||||
} else {
|
||||
json_key = Object.keys(json).find(key => key.match(/^articlebody$/i)) || Object.keys(json).find(key => key.match(/^text$/i));
|
||||
json_text = parseHtmlEntities(json[json_key]);
|
||||
@@ -1724,7 +1727,7 @@ else if (matchDomain('journaldunet.com')) {
|
||||
else if (matchDomain('la-croix.com')) {
|
||||
let url = window.location.href;
|
||||
if (!url.includes('la-croix.com/amp/')) {
|
||||
let ads = document.querySelectorAll('div[class^="ads-wrapper-"]');
|
||||
let ads = document.querySelectorAll('div[class^="ads-wrapper-"], div#poool-widget');
|
||||
hideDOMElement(...ads);
|
||||
} else {
|
||||
let paywall_block = document.querySelector('#paywall_block');
|
||||
@@ -3394,6 +3397,12 @@ else if (matchDomain('barrons.com')) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('bhaskar.com')) {
|
||||
let paywall = document.querySelector('div > img[alt="LockIcon"]');
|
||||
if (paywall)
|
||||
refreshCurrentTab_bg();
|
||||
}
|
||||
|
||||
else if (matchDomain('billboard.com')) {
|
||||
if (window.location.pathname.endsWith('/amp/')) {
|
||||
amp_unhide_subscr_section('amp-ad, amp-embed');
|
||||
|
||||
@@ -37,5 +37,5 @@
|
||||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.3.6.4"
|
||||
"version": "3.3.6.5"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"###_remove_sites": {
|
||||
"cs_code": "africaintelligence.fr, arkansasonline.com, bild.de, columbian.com, handelsblatt.com, intelligenceonline.com, intelligenceonline.fr, interestingengineering.com, jeuneafrique.com, lalettrea.fr, lastampa.it, lavozdegalicia.es, law360.com, manager-magazin.de, ouest-france.fr, repubblica.it, risk.net, saechsische.de, swarajyamag.com, thetexan.news, theweek.com, vikatan.com",
|
||||
"cs_code": "africaintelligence.fr, arkansasonline.com, bild.de, columbian.com, intelligenceonline.com, intelligenceonline.fr, interestingengineering.com, jeuneafrique.com, lalettrea.fr, lastampa.it, lavozdegalicia.es, law360.com, manager-magazin.de, ouest-france.fr, repubblica.it, risk.net, saechsische.de, swarajyamag.com, thetexan.news, theweek.com, vikatan.com",
|
||||
"domain": "###"
|
||||
},
|
||||
"Abajournal.com": {
|
||||
@@ -250,6 +250,12 @@
|
||||
"domain": "gramophone.co.uk",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"Handelsblatt.com (refresh)": {
|
||||
"add_ext_link": "app-paywall|app-storyline-paragraph",
|
||||
"add_ext_link_type": "archive.is",
|
||||
"allow_cookies": 1,
|
||||
"domain": "handelsblatt.com"
|
||||
},
|
||||
"Hartenergy.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "js\\.pelcro\\.com",
|
||||
@@ -540,6 +546,11 @@
|
||||
"block_regex": "\\.schwaebische-post\\.de\\/sub\\/js\\/pc-offer-west\\.js",
|
||||
"domain": "schwaebische-post.de"
|
||||
},
|
||||
"Shrm.org": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.shrm\\.org\\/.+\\/js\\/paywall.+\\.js",
|
||||
"domain": "shrm.org"
|
||||
},
|
||||
"Siliconrepublic.com": {
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "js\\.pelcro\\.com",
|
||||
|
||||
+2
-1
@@ -92,6 +92,7 @@
|
||||
"*://*.betamtb.com/*",
|
||||
"*://*.betternutrition.com/*",
|
||||
"*://*.betterprogramming.pub/*",
|
||||
"*://*.bhaskar.com/*",
|
||||
"*://*.bicycling.com/*",
|
||||
"*://*.bienpublic.com/*",
|
||||
"*://*.billboard.com/*",
|
||||
@@ -785,5 +786,5 @@
|
||||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.3.6.4"
|
||||
"version": "3.3.6.5"
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ var defaultSites = {
|
||||
"watoday.com.au"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: "\.piano\.io\/xbuilder\/experience\/execute|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)"
|
||||
block_regex: /(\.piano\.io\/xbuilder\/experience\/execute|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/
|
||||
},
|
||||
"Auto Motor und Sport": {
|
||||
domain: "auto-motor-und-sport.de",
|
||||
@@ -259,6 +259,11 @@ var defaultSites = {
|
||||
allow_cookies: 1,
|
||||
useragent: "bingbot"
|
||||
},
|
||||
"Bhaskar": {
|
||||
domain: "bhaskar.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.bhaskar\.com\/assets\/js\/react-.+\.bundle\.js/
|
||||
},
|
||||
"Bild der Wissenschaft": {
|
||||
domain: "wissenschaft.de",
|
||||
allow_cookies: 1,
|
||||
|
||||
@@ -5,6 +5,25 @@
|
||||
"ld_google_webcache": "div.bee-page-container|div#article_body",
|
||||
"upd_version": "3.3.4.7"
|
||||
},
|
||||
"Australia Nine Entertainment": {
|
||||
"domain": "###_au_nine_ent",
|
||||
"group": [
|
||||
"afr.com",
|
||||
"brisbanetimes.com.au",
|
||||
"smh.com.au",
|
||||
"theage.com.au",
|
||||
"watoday.com.au"
|
||||
],
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
|
||||
"upd_version": "3.3.6.6"
|
||||
},
|
||||
"Bhaskar": {
|
||||
"domain": "bhaskar.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.bhaskar\\.com\\/assets\\/js\\/react-.+\\.bundle\\.js",
|
||||
"upd_version": "3.3.6.5"
|
||||
},
|
||||
"Bloomberg": {
|
||||
"domain": "bloomberg.com",
|
||||
"allow_cookies": 1,
|
||||
|
||||
Reference in New Issue
Block a user