mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:37:47 +01:00
Merge branch 'master' into feature/remove-medium-footer
This commit is contained in:
commit
e0264cfeb4
4 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
[Baltimore Sun](https://www.baltimoresun.com)\
|
||||
[Barron's](https://www.barrons.com)\
|
||||
[Bloomberg](https://www.bloomberg.com)\
|
||||
[Bloomberg Quint]('https://www.bloombergquint.com)\
|
||||
[Business Insider](https://www.businessinsider.com)\
|
||||
[Caixin](https://www.caixinglobal.com)\
|
||||
[Chemical & Engineering News](https://cen.acs.org)\
|
||||
|
|
|
@ -5,6 +5,7 @@ var defaultSites = {
|
|||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
'Bloomberg Quint': 'bloombergquint.com',
|
||||
'Business Insider': 'businessinsider.com',
|
||||
'Caixin': 'caixinglobal.com',
|
||||
'Chemical & Engineering News': 'cen.acs.org',
|
||||
|
@ -162,6 +163,7 @@ const remove_cookies = [
|
|||
'vn.nl',
|
||||
'washingtonpost.com',
|
||||
'wsj.com',
|
||||
'bloombergquint.com'
|
||||
]
|
||||
|
||||
// select specific cookie(s) to hold from remove_cookies domains
|
||||
|
|
|
@ -106,6 +106,12 @@ if (window.location.href.indexOf("medium.com") !== -1) {
|
|||
if(DOMElementsToTextDiv[2]) removeDOMElement(DOMElementsToTextDiv[2]);
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("bloombergquint.com") !== -1) {
|
||||
const articlesLeftModal = document.getElementsByClassName('paywall-meter-module__story-paywall-container__1UgCE')[0];
|
||||
const paywall = document.getElementById('paywallDmp');
|
||||
removeDOMElement(articlesLeftModal, paywall);
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("bloomberg.com") !== -1) {
|
||||
const paywall = document.getElementById('paywall-banner');
|
||||
removeDOMElement(paywall);
|
||||
|
|
|
@ -3,6 +3,7 @@ var defaultSites = {
|
|||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
'Bloomberg Quint': 'bloombergquint.com',
|
||||
'Business Insider': 'businessinsider.com',
|
||||
'Caixin': 'caixinglobal.com',
|
||||
'Chemical & Engineering News': 'cen.acs.org',
|
||||
|
|
Loading…
Reference in a new issue