mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 19:11:59 +00:00
Fix Medium (timing)
This commit is contained in:
parent
9b3ccb0e2b
commit
e943d40597
@ -7,6 +7,7 @@ Add MediaNews Group (local USA)
|
|||||||
Add The Intercept
|
Add The Intercept
|
||||||
Remove Slader (obsolete)
|
Remove Slader (obsolete)
|
||||||
Fix group Mediahuis Nederland Regional
|
Fix group Mediahuis Nederland Regional
|
||||||
|
Fix Medium (timing)
|
||||||
Fix The Australian
|
Fix The Australian
|
||||||
Fix The Daily Beast (proper/images)
|
Fix The Daily Beast (proper/images)
|
||||||
|
|
||||||
|
@ -72,8 +72,10 @@ ext_api.runtime.sendMessage({request: 'optin'});
|
|||||||
if (matchDomain(['medium.com', 'towardsdatascience.com']) || document.querySelector('script[src^="https://cdn-client.medium.com/"]')) {
|
if (matchDomain(['medium.com', 'towardsdatascience.com']) || document.querySelector('script[src^="https://cdn-client.medium.com/"]')) {
|
||||||
let paywall = document.querySelector('div#paywall-background-color');
|
let paywall = document.querySelector('div#paywall-background-color');
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
if (paywall)
|
if (paywall) {
|
||||||
ext_api.runtime.sendMessage({request: 'refreshCurrentTab'});
|
ext_api.runtime.sendMessage({request: 'refreshCurrentTab'});
|
||||||
|
csDoneOnce = true;
|
||||||
|
}
|
||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
let meter = document.querySelector('[id*="highlight-meter-"]');
|
let meter = document.querySelector('[id*="highlight-meter-"]');
|
||||||
if (meter)
|
if (meter)
|
||||||
|
@ -553,5 +553,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.3.3.7"
|
"version": "2.3.3.8"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user