mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Fix Seeking Alpha (xhr)
Fix LeMonde.fr (view more)
This commit is contained in:
parent
3214311965
commit
627b4f958f
4 changed files with 23 additions and 10 deletions
|
@ -6,10 +6,11 @@ Post-release
|
|||
Add Bild.de (fetch from archive.is)
|
||||
Add Crain's Grand Rapids Business
|
||||
Add Capital.fr
|
||||
Fix LeMonde.fr (view more)
|
||||
Fix MediaNews Group (ld_json_url)
|
||||
Fix Nzz.ch (css)
|
||||
Fix Reuters (videos)
|
||||
Fix Seeking Alpha (refresh)
|
||||
Fix Seeking Alpha (xhr)
|
||||
|
||||
* v3.6.2.0 (2024-04-01)
|
||||
Add American Purpose
|
||||
|
|
|
@ -1657,8 +1657,8 @@ else if (matchDomain(es_grupo_vocento_domains)) {
|
|||
removeDOMElement(paywall);
|
||||
}
|
||||
}
|
||||
let banners = document.querySelectorAll('div.voc-advertising, div.ev-em-modal, span.mega-superior, div.v-adv');
|
||||
hideDOMElement(...banners);
|
||||
let banners = 'div.voc-advertising, div.voc-ob-wrapper, div.voc-discounts, div.ev-em-modal, span.mega-superior, div.v-adv';
|
||||
hideDOMStyle(banners);
|
||||
} else {
|
||||
amp_unhide_access_hide('="result=\'ALLOW_ACCESS\'"', '="result!=\'ALLOW_ACCESS\'"', 'amp-ad, amp-embed, div.v-adv');
|
||||
let body_top = document.querySelector('body#top');
|
||||
|
@ -2035,13 +2035,20 @@ else if (matchDomain('lemonde.fr')) {
|
|||
if (paywall) {
|
||||
let article_sel = 'article';
|
||||
let figure = document.querySelector('figure.article__media');
|
||||
if (figure) {
|
||||
func_post = function () {
|
||||
if (figure) {
|
||||
let figure_new = document.querySelector('article > figure');
|
||||
let article = document.querySelector(article_sel);
|
||||
if (!figure_new && article)
|
||||
article.firstChild.before(figure);
|
||||
}
|
||||
let view_more = document.querySelector('section > label[for^="view-more-"]');
|
||||
if (view_more) {
|
||||
let view_more_div = view_more.parentNode.querySelector('div[style*="max-height"]');
|
||||
if (view_more_div)
|
||||
view_more_div.removeAttribute('style');
|
||||
removeDOMElement(view_more);
|
||||
}
|
||||
}
|
||||
let url = window.location.href;
|
||||
getArchive(url, paywall_sel, '', article_sel);
|
||||
|
@ -5122,9 +5129,6 @@ else if (matchDomain('seekingalpha.com')) {
|
|||
let read_more = document.querySelector('button[id^="continueReadingButton"]');
|
||||
if (read_more)
|
||||
read_more.click();
|
||||
let lock = document.querySelector('div[data-test-id="after-layout-content-slot"] > div');
|
||||
if (lock)
|
||||
refreshCurrentTab();
|
||||
} else {
|
||||
amp_unhide_access_hide('*="premium_access OR"', '', '.ad-wrap');
|
||||
let paywall = document.querySelector('[class*="paywall-container"]');
|
||||
|
@ -5495,6 +5499,8 @@ else if (matchDomain('thedailybeast.com')) {
|
|||
}
|
||||
}
|
||||
}
|
||||
let ads = 'aside.AdSlot, div.FooterAd';
|
||||
hideDOMStyle(ads);
|
||||
}
|
||||
|
||||
else if (matchDomain('thediplomat.com')) {
|
||||
|
|
4
sites.js
4
sites.js
|
@ -2205,10 +2205,10 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /\.scientificamerican\.com\/api\/tinypass\.min\.js/
|
||||
},
|
||||
"Seeking Alpha": {
|
||||
"Seeking Alpha (do not block TinyPass-script externally)": {
|
||||
domain: "seekingalpha.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org(\/.+)?\/v\d\/amp-(access|loader)-.+\.js)/
|
||||
block_regex: /(\.piano\.io\/xbuilder\/experience\/execute|cdn\.ampproject\.org(\/.+)?\/v\d\/amp-(access|loader)-.+\.js)/
|
||||
},
|
||||
"Slate": {
|
||||
domain: "slate.com",
|
||||
|
|
|
@ -113,6 +113,12 @@
|
|||
"block_regex": "\\.reuters\\.com\\/arc\\/subs\\/p\\.min\\.js",
|
||||
"upd_version": "3.6.2.4"
|
||||
},
|
||||
"Seeking Alpha": {
|
||||
"domain": "seekingalpha.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.ampproject\\.org(\\/.+)?\\/v\\d\\/amp-(access|loader)-.+\\.js)",
|
||||
"upd_version": "3.6.2.6"
|
||||
},
|
||||
"The Banker (removed)": {
|
||||
"domain": "thebanker.com",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue