mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:41:57 +01:00
Fix WaPo (magazine)
This commit is contained in:
parent
94fb699946
commit
90a7c6c5b7
2 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,7 @@ Fix Bloomberg
|
|||
Fix Nikkei Asian Review (cookies)
|
||||
Fix The Daily Telegraph (au)
|
||||
Fix Times of India (TOI+ region block)
|
||||
Fix WaPo (magazine)
|
||||
|
||||
* v2.2.9.0 (2021-07-11)
|
||||
Add TradeWinds
|
||||
|
|
|
@ -2626,9 +2626,11 @@ else if (matchDomain('washingtonpost.com')) {
|
|||
}
|
||||
let url = window.location.href;
|
||||
if (!url.includes('outputType=amp')) {
|
||||
waitDOMElement('div[id^="paywall-"]', 'DIV', wapo_main, false);
|
||||
waitDOMElement('div[id^="paywall-"], div.wp_signin, div#wp_Signin', 'DIV', wapo_main, false);
|
||||
waitDOMElement('div[data-qa*="wall"]', 'DIV', removeDOMElement, true);
|
||||
waitDOMAttribute('body', 'BODY', 'style', wapo_overlay, true);
|
||||
window.setTimeout(function () {
|
||||
waitDOMAttribute('body', 'BODY', 'style', wapo_overlay, true);
|
||||
}, 500); // Delay (in milliseconds)
|
||||
waitDOMAttribute('html', 'HTML', 'style', wapo_overlay, false);
|
||||
if (!url.includes('/interactive/'))
|
||||
csDoneOnce = true;
|
||||
|
|
Loading…
Reference in a new issue