Add businessinsider.com
parent
3da97cc3ee
commit
d66bc0bbc4
|
@ -5,6 +5,7 @@ var defaultSites = {
|
|||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
'Business Insider': 'businessinsider.com',
|
||||
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
||||
'Chicago Tribune': 'chicagotribune.com',
|
||||
'Corriere Della Sera': 'corriere.it',
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Updates--
|
||||
|
||||
2018-07-07 v1.3.1: Added Business Insider (businessinsider.com)
|
||||
2018-07-04 v1.3.0: Added The Denver Post (denverpost.com, note: need to turn off uBlock for this site), added Hacked (hacked.com)
|
||||
2018-06-20 v1.2.10: Added The Business Journals (bizjournals.com)
|
||||
2018-06-27 v1.2.9: Fixed The Washington Post (washingtonpost.com)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if (window.location.href.indexOf("bizjournals.com") > -1) {
|
||||
if (window.location.href.indexOf("bizjournals.com") !== -1) {
|
||||
const hiddenStory = document.getElementsByClassName(
|
||||
"js-pre-chunks__story-body"
|
||||
);
|
||||
|
@ -12,4 +12,11 @@ if (window.location.href.indexOf("bizjournals.com") > -1) {
|
|||
if (payWallMessage && payWallMessage.length>0 ) {
|
||||
payWallMessage[0].style.display = "none";
|
||||
}
|
||||
} else if (window.location.href.indexOf("businessinsider.com") !== -1) {
|
||||
const paywall = document.getElementsByClassName(
|
||||
"tp-modal"
|
||||
);
|
||||
while (paywall.length > 0) {
|
||||
paywall[0].parentNode.removeChild(paywall[0]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://*.bizjournals.com/*"],
|
||||
"matches": ["*://*.bizjournals.com/*", "*://*.businessinsider.com/*"],
|
||||
"js": ["contentScript.js"]
|
||||
}
|
||||
],
|
||||
|
@ -43,5 +43,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.3.0"
|
||||
"version": "1.3.1"
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ var defaultSites = {
|
|||
'Baltimore Sun': 'baltimoresun.com',
|
||||
'Barron\'s': 'barrons.com',
|
||||
'Bloomberg': 'bloomberg.com',
|
||||
'Business Insider': 'businessinsider.com',
|
||||
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
||||
'Chicago Tribune': 'chicagotribune.com',
|
||||
'Corriere Della Sera': 'corriere.it',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="width:220px;">Bypass Paywalls v1.3.0 by Adam
|
||||
<div style="width:220px;">Bypass Paywalls v1.3.1 by Adam
|
||||
<a href="options.html">Options</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue