Fix Hearst Communications magazines (js)

Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily
merge-requests/15/head
magnolia1234 11 months ago
parent cfe721251b
commit b493b5a1b7

@ -231,11 +231,15 @@ Grouped in options:\
[Bicycling](https://www.bicycling.com) -
[Cosmopolitan](https://www.cosmopolitan.com) -
[Country Living](https://www.countryliving.com) -
[Delish](https://www.delish.com) -
[Elle Decor](https://www.elledecor.com) -
[Elle USA](https://www.elle.com) -
[Esquire](https://www.esquire.com) -
[Good Housekeeping](https://www.goodhousekeeping.com) -
[Harper's Bazaar](https://www.harpersbazaar.com) -
[House Beautiful](https://www.housebeautiful.com) -
[Men's Health](https://www.menshealth.com) -
[Oprah Daily](https://www.oprahdaily.com) -
[Popular Mechanics](https://www.popularmechanics.com) -
[Prevention](https://www.prevention.com) -
[Road & Track](https://www.roadandtrack.com) -

@ -3,8 +3,10 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily
Add NWT Media.se (opt-in to custom sites)
Add Stuttgarter-zeitung.de
Fix Hearst Communications magazines (js)
* v3.2.3.0 (2023-07-02)
Add Groupe ESH Medias (ch)

@ -3220,7 +3220,6 @@ else if (matchDomain('bloomberg.com')) {
if (noscroll)
noscroll.removeAttribute('data-paywall-overlay-status');
hideDOMElement(...paywall, leaderboard);
sessionStorage.clear();
let url = window.location.href;
if (url.match(/s\/\d{4}-/)) {
let page_ad = document.querySelectorAll('div.page-ad, div[data-ad-placeholder], div[class*="-ad-top"]');
@ -3248,12 +3247,12 @@ else if (matchDomain('bloomberg.com')) {
blur.classList.remove('blur');
blur.removeAttribute('style');
}
let main_column = document.querySelector('div[class*="main-column__"]');
if (main_column)
main_column.style = '-webkit-mask-image: none !important; mask-image: none !important;';
let shimmering_content = document.querySelectorAll('div.shimmering-text');
let body_transparent = document.querySelector('div[class*="nearly-transparent-text-blur"]');
if ((shimmering_content.length || body_transparent) && dompurify_loaded) {
if (shimmering_content.length && dompurify_loaded) {
removeDOMElement(...shimmering_content);
if (body_transparent)
removeClassesByPrefix(body_transparent, 'nearly-transparent-text-blur');
let json_script = document.querySelector('script[data-component-props="ArticleBody"], script[data-component-props="FeatureBody"]');
if (json_script) {
let json = JSON.parse(json_script.text);
@ -3294,6 +3293,7 @@ else if (matchDomain('bloomberg.com')) {
}
}
}
window.sessionStorage.clear();
if (window.location.pathname.startsWith('/live/')) {
setInterval(function () {
window.localStorage.clear();

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.3.1"
"version": "3.2.3.2"
}

@ -177,6 +177,7 @@
"*://*.dailywire.com/*",
"*://*.dallasnews.com/*",
"*://*.defector.com/*",
"*://*.delish.com/*",
"*://*.democratandchronicle.com/*",
"*://*.demorgen.be/*",
"*://*.denverpost.com/*",
@ -214,6 +215,7 @@
"*://*.elespectador.com/*",
"*://*.elle.com/*",
"*://*.elle.fr/*",
"*://*.elledecor.com/*",
"*://*.elmercurio.com/*",
"*://*.elmundo.es/*",
"*://*.elnortedecastilla.es/*",
@ -284,6 +286,7 @@
"*://*.haarlemsdagblad.nl/*",
"*://*.handelszeitung.ch/*",
"*://*.harpers.org/*",
"*://*.harpersbazaar.com/*",
"*://*.haz.de/*",
"*://*.hbr.org/*",
"*://*.hbrchina.org/*",
@ -494,6 +497,7 @@
"*://*.ocregister.com/*",
"*://*.oklahoman.com/*",
"*://*.omaha.com/*",
"*://*.oprahdaily.com/*",
"*://*.oregonlive.com/*",
"*://*.orlandosentinel.com/*",
"*://*.ostsee-zeitung.de/*",
@ -760,5 +764,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.3.1"
"version": "3.2.3.2"
}

@ -984,12 +984,16 @@ var defaultSites = {
"bicycling.com",
"cosmopolitan.com",
"countryliving.com",
"delish.com",
"elle.com",
"elledecor.com",
"esquire.com",
"goodhousekeeping.com",
"harpersbazaar.com",
"hollywoodreporter.com",
"housebeautiful.com",
"menshealth.com",
"oprahdaily.com",
"popularmechanics.com",
"prevention.com",
"roadandtrack.com",
@ -998,7 +1002,7 @@ var defaultSites = {
"womenshealthmag.com"
],
allow_cookies: 1,
block_regex: /\.ensighten\.com\/.+\/Bootstrap\.js/
block_regex: /(\.com\/_assets\/jam\/journey-data\.js|\.ensighten\.com\/.+\/Bootstrap\.js)/
},
"Het Laatste Nieuws (link to archive.is)": {
domain: "hln.be",

@ -5,6 +5,12 @@
"useragent": "bingbot",
"upd_version": "3.1.3.3"
},
"Delish": {
"domain": "delish.com",
"allow_cookies": 1,
"block_regex": "(\\.com\\/_assets\\/jam\\/journey-data\\.js|\\.ensighten\\.com\\/.+\\/Bootstrap\\.js)",
"new_site": 1
},
"Die Zeit": {
"domain": "zeit.de",
"allow_cookies": 1,
@ -12,6 +18,12 @@
"add_ext_link_type": "archive.is",
"upd_version": "3.2.2.4"
},
"Elle Decor": {
"domain": "elledecor.com",
"allow_cookies": 1,
"block_regex": "(\\.com\\/_assets\\/jam\\/journey-data\\.js|\\.ensighten\\.com\\/.+\\/Bootstrap\\.js)",
"new_site": 1
},
"Ftm.eu": {
"domain": "ftm.eu",
"allow_cookies": 1,
@ -35,6 +47,12 @@
"useragent": "facebookbot",
"upd_version": "3.0.8.3"
},
"Harper's Bazaar": {
"domain": "harpersbazaar.com",
"allow_cookies": 1,
"block_regex": "(\\.com\\/_assets\\/jam\\/journey-data\\.js|\\.ensighten\\.com\\/.+\\/Bootstrap\\.js)",
"new_site": 1
},
"Het Laatste Nieuws (link to archive.is)": {
"domain": "hln.be",
"allow_cookies": 1,
@ -62,6 +80,12 @@
"cs_code": "[{\"cond\":\"div.tlg-paywalled\", \"rm_class\": \"tlg-paywalled\"}]",
"upd_version": "3.2.1.1"
},
"Oprah Daily": {
"domain": "oprahdaily.com",
"allow_cookies": 1,
"block_regex": "(\\.com\\/_assets\\/jam\\/journey-data\\.js|\\.ensighten\\.com\\/.+\\/Bootstrap\\.js)",
"new_site": 1
},
"Puck.news": {
"domain": "puck.news",
"allow_cookies": 1,

Loading…
Cancel
Save