mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix Fortune (magazine)
This commit is contained in:
parent
afc185a2dc
commit
8e5d62a16c
@ -9,6 +9,7 @@ Add Peloton
|
||||
Add Podium Runner
|
||||
Add Rock and Ice
|
||||
Fix El Pais (amp/video)
|
||||
Fix Fortune (magazine)
|
||||
|
||||
* v2.6.5.0 (2022-04-18)
|
||||
Add Aftonbladet.se
|
||||
|
@ -2697,10 +2697,13 @@ else if (matchDomain('foreignpolicy.com')) {
|
||||
}
|
||||
|
||||
else if (matchDomain('fortune.com')) {
|
||||
let paywall = document.querySelector('.paywall');
|
||||
if (window.location.pathname.endsWith('/amp/')) {
|
||||
amp_unhide_access_hide('="NOT p.showRegWall AND NOT p.showPayWall"', '', '[class^="amp-ad"]');
|
||||
let paywall = document.querySelector('.paywall');
|
||||
removeDOMElement(paywall);
|
||||
} else {
|
||||
if (paywall)
|
||||
paywall.removeAttribute('class');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user