Fix WaPo (magazine)

merge-requests/2/head
magnolia1234 3 years ago
parent 94fb699946
commit 90a7c6c5b7

@ -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…
Cancel
Save