mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 09:17:49 +01:00
adding support for business chronicles
This commit is contained in:
parent
ae1bb4201d
commit
fbc8b45456
7 changed files with 46 additions and 14 deletions
|
@ -39,6 +39,7 @@ OrlandoSentinel (orlandosentinel.com)\
|
||||||
Quora (quora.com)\
|
Quora (quora.com)\
|
||||||
SunSentinel (sun-sentinel.com)\
|
SunSentinel (sun-sentinel.com)\
|
||||||
TheMarker (themarker.com)\
|
TheMarker (themarker.com)\
|
||||||
|
The Business Journals (bizjournals.com)\
|
||||||
The Seattle Times (seattletimes.com)\
|
The Seattle Times (seattletimes.com)\
|
||||||
The Sydney Morning Herald (smh.com.au)\
|
The Sydney Morning Herald (smh.com.au)\
|
||||||
The Washington Post (washingtonpost.com)\
|
The Washington Post (washingtonpost.com)\
|
||||||
|
@ -47,4 +48,5 @@ Vanity Fair (vanityfair.com)\
|
||||||
Wired (wired.com)
|
Wired (wired.com)
|
||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
|
|
||||||
If WSJ stops working try removing all wsj.com site cookies.
|
If WSJ stops working try removing all wsj.com site cookies.
|
||||||
|
|
|
@ -27,6 +27,7 @@ var defaultSites = {
|
||||||
'Nikkei Asian Review': 'asia.nikkei.com',
|
'Nikkei Asian Review': 'asia.nikkei.com',
|
||||||
'NRC': 'nrc.nl',
|
'NRC': 'nrc.nl',
|
||||||
'The Boston Globe': 'bostonglobe.com',
|
'The Boston Globe': 'bostonglobe.com',
|
||||||
|
'The Business Journals': 'bizjournals.com',
|
||||||
'The Globe and Mail': 'theglobeandmail.com',
|
'The Globe and Mail': 'theglobeandmail.com',
|
||||||
'The Mercury News': 'mercurynews.com',
|
'The Mercury News': 'mercurynews.com',
|
||||||
'The Morning Call': 'mcall.com',
|
'The Morning Call': 'mcall.com',
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Updates--
|
Updates--
|
||||||
|
|
||||||
|
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)
|
||||||
2018-06-22 v1.2.8: Added Vanity Fair (vanityfair.com), added The Globe and Mail (theglobeandmail.com)
|
2018-06-22 v1.2.8: Added Vanity Fair (vanityfair.com), added The Globe and Mail (theglobeandmail.com)
|
||||||
2018-06-03 v1.2.7: Added Wired (wired.com)
|
2018-06-03 v1.2.7: Added Wired (wired.com)
|
||||||
|
|
|
@ -1 +1,13 @@
|
||||||
window.localStorage.clear();
|
if (window.location.href.indexOf("bizjournals.com") > -1) {
|
||||||
|
const hiddenStory = document.getElementsByClassName(
|
||||||
|
"js-pre-chunks__story-body"
|
||||||
|
);
|
||||||
|
if (hiddenStory) {
|
||||||
|
hiddenStory[0].style.display = "block";
|
||||||
|
}
|
||||||
|
|
||||||
|
const payWallMessage = document.getElementsByClassName("chunk chunk--flex@lg chunk--paywall");
|
||||||
|
if (hiddenStory) {
|
||||||
|
payWallMessage[0].style.display = "none";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
"background": {
|
"background": {
|
||||||
"scripts": ["background.js"]
|
"scripts": ["background.js"]
|
||||||
},
|
},
|
||||||
|
"content_scripts": [
|
||||||
|
{
|
||||||
|
"matches": ["*://*.bizjournals.com/*"],
|
||||||
|
"js": ["contentScript.js"]
|
||||||
|
}
|
||||||
|
],
|
||||||
"applications": {
|
"applications": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "iamadamdev@hotmail.com"
|
"id": "iamadamdev@hotmail.com"
|
||||||
|
@ -12,10 +18,13 @@
|
||||||
"default_icon": {
|
"default_icon": {
|
||||||
"128": "bypass.png"
|
"128": "bypass.png"
|
||||||
},
|
},
|
||||||
"theme_icons": [{
|
"theme_icons": [
|
||||||
|
{
|
||||||
"light": "bypass-dark.png",
|
"light": "bypass-dark.png",
|
||||||
"dark": "bypass.png",
|
"dark": "bypass.png",
|
||||||
"size": 128 }]
|
"size": 128
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"description": "Bypass News Sites' Paywalls",
|
"description": "Bypass News Sites' Paywalls",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
@ -27,6 +36,12 @@
|
||||||
"options_ui": {
|
"options_ui": {
|
||||||
"page": "options.html"
|
"page": "options.html"
|
||||||
},
|
},
|
||||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
"permissions": [
|
||||||
"version": "1.2.9"
|
"cookies",
|
||||||
|
"<all_urls>",
|
||||||
|
"storage",
|
||||||
|
"webRequest",
|
||||||
|
"webRequestBlocking"
|
||||||
|
],
|
||||||
|
"version": "1.2.10"
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,7 @@ var defaultSites = {
|
||||||
'Nikkei Asian Review': 'asia.nikkei.com',
|
'Nikkei Asian Review': 'asia.nikkei.com',
|
||||||
'NRC': 'nrc.nl',
|
'NRC': 'nrc.nl',
|
||||||
'The Boston Globe': 'bostonglobe.com',
|
'The Boston Globe': 'bostonglobe.com',
|
||||||
|
'The Business Journals': 'bizjournals.com',
|
||||||
'The Globe and Mail': 'theglobeandmail.com',
|
'The Globe and Mail': 'theglobeandmail.com',
|
||||||
'The Mercury News': 'mercurynews.com',
|
'The Mercury News': 'mercurynews.com',
|
||||||
'The Morning Call': 'mcall.com',
|
'The Morning Call': 'mcall.com',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
<div style="width:220px;">Bypass Paywalls v1.2.9 by Adam
|
<div style="width:220px;">Bypass Paywalls v1.2.10 by Adam
|
||||||
<a href="options.html">Options</a></div>
|
<a href="options.html">Options</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue