Fix-update Grupo Vocento (amp)

merge-requests/1/head
magnolia1234 3 years ago
parent 4e72a844e7
commit 0085bd5141

@ -29,7 +29,8 @@ For Firefox Nightly or Fennec F-Droid (based on latest Firefox for Android) you
It has a custom add-ons account: 16201230 & collection: What-I-want-on-Fenix.\
In IceRaven all add-ons are shown (with search option), but In Firefox Nightly and Fennec F-Droid only the first 50 add-ons are shown (including this add-on).
PS enabling custom sites (optional permissions) isn't working on Android (Firefox Nightly, Fennec F-Droid or IceRaven).
PS on Android: enabling custom sites isn't working (no optional permissions).\
Then you need the 'custom' add-on version (with access to all sites): [Bypass Paywalls Clean (custom)](https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean-custom)
#### Chrome/Chromium
Visit the [Chrome repository](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean) of Bypass Paywall Clean.
@ -561,8 +562,10 @@ Check 'Options'-link in popup-menu and go to custom sites.
\* by default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies for non-listed sites).
Make sure the (new) site is checked under Options (or check on/off-button).
By default sites' cookies/local storage are removed after page loads (to bypass article limit).
Also you can enable Googlebot user-agent, disable Javascript for (sub)domain(s)/external sources and/or set the referer (to Facebook, Google or Twitter; ignored when Googlebot is set).\
PS enabling custom sites (optional permissions) isn't working on Android (Firefox Nightly, Fennec F-Droid or IceRaven).
Also you can enable Googlebot user-agent, disable Javascript for (sub)domain(s)/external sources and/or set the referer (to Facebook, Google or Twitter; ignored when Googlebot is set).
PS on Android: enabling custom sites isn't working (no optional permissions).\
Then you need the 'custom' add-on version (with access to all sites): [Bypass Paywalls Clean (custom)](https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean-custom)
### Add excluded site
Add excluded sites/domains (for your subscriptions).\

@ -445,7 +445,7 @@ function add_grouped_sites(init_rules) {
}
for (let domain of es_grupo_vocento_domains) {
allow_cookies.push(domain);
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent|subscriptions)-.+\.js/;
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|ad|subscriptions)-.+\.js/;
}
for (let domain of fi_alma_talent_domains) {
use_google_bot.push(domain);

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Atlantico (France)
Fix-update Chronicle of Higher Education (scroll)
Fix-update Grupo Vocento (amp)
Fix-update New Left Review
* v2.1.0.0 (2021-02-28)

@ -1683,9 +1683,9 @@ else if (matchDomain(es_grupo_vocento_domains)) {
if (container_wall_exclusive) {
let non_subscr_section = document.querySelector('[amp-access="result!=\'ALLOW_ACCESS\'"]');
removeDOMElement(container_wall_exclusive, non_subscr_section);
let subscr_section = document.querySelector('[amp-access="result=\'ALLOW_ACCESS\'"]');
if (subscr_section)
subscr_section.removeAttribute('amp-access-hide');
let subscr_section = document.querySelectorAll('[amp-access="result=\'ALLOW_ACCESS\'"][amp-access-hide]');
for (let elem of subscr_section)
elem.removeAttribute('amp-access-hide');
}
//lavozdigital.es
let paywall = document.querySelector('span[subscriptions-section="content"]');

@ -481,5 +481,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.1.0.3"
"version": "2.1.0.4"
}
Loading…
Cancel
Save