Add businessinsider.com
parent
3da97cc3ee
commit
d66bc0bbc4
|
@ -5,6 +5,7 @@ var defaultSites = {
|
||||||
'Baltimore Sun': 'baltimoresun.com',
|
'Baltimore Sun': 'baltimoresun.com',
|
||||||
'Barron\'s': 'barrons.com',
|
'Barron\'s': 'barrons.com',
|
||||||
'Bloomberg': 'bloomberg.com',
|
'Bloomberg': 'bloomberg.com',
|
||||||
|
'Business Insider': 'businessinsider.com',
|
||||||
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
||||||
'Chicago Tribune': 'chicagotribune.com',
|
'Chicago Tribune': 'chicagotribune.com',
|
||||||
'Corriere Della Sera': 'corriere.it',
|
'Corriere Della Sera': 'corriere.it',
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Updates--
|
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-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-20 v1.2.10: Added The Business Journals (bizjournals.com)
|
||||||
2018-06-27 v1.2.9: Fixed The Washington Post (washingtonpost.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(
|
const hiddenStory = document.getElementsByClassName(
|
||||||
"js-pre-chunks__story-body"
|
"js-pre-chunks__story-body"
|
||||||
);
|
);
|
||||||
|
@ -12,4 +12,11 @@ if (window.location.href.indexOf("bizjournals.com") > -1) {
|
||||||
if (payWallMessage && payWallMessage.length>0 ) {
|
if (payWallMessage && payWallMessage.length>0 ) {
|
||||||
payWallMessage[0].style.display = "none";
|
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": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["*://*.bizjournals.com/*"],
|
"matches": ["*://*.bizjournals.com/*", "*://*.businessinsider.com/*"],
|
||||||
"js": ["contentScript.js"]
|
"js": ["contentScript.js"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -43,5 +43,5 @@
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking"
|
"webRequestBlocking"
|
||||||
],
|
],
|
||||||
"version": "1.3.0"
|
"version": "1.3.1"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ var defaultSites = {
|
||||||
'Baltimore Sun': 'baltimoresun.com',
|
'Baltimore Sun': 'baltimoresun.com',
|
||||||
'Barron\'s': 'barrons.com',
|
'Barron\'s': 'barrons.com',
|
||||||
'Bloomberg': 'bloomberg.com',
|
'Bloomberg': 'bloomberg.com',
|
||||||
|
'Business Insider': 'businessinsider.com',
|
||||||
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
'Crain\'s Chicago Business': 'chicagobusiness.com',
|
||||||
'Chicago Tribune': 'chicagotribune.com',
|
'Chicago Tribune': 'chicagotribune.com',
|
||||||
'Corriere Della Sera': 'corriere.it',
|
'Corriere Della Sera': 'corriere.it',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<body>
|
<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>
|
<a href="options.html">Options</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue