mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 06:13:41 +02: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)\
|
||||
SunSentinel (sun-sentinel.com)\
|
||||
TheMarker (themarker.com)\
|
||||
The Business Journals (bizjournals.com)\
|
||||
The Seattle Times (seattletimes.com)\
|
||||
The Sydney Morning Herald (smh.com.au)\
|
||||
The Washington Post (washingtonpost.com)\
|
||||
|
@ -47,4 +48,5 @@ Vanity Fair (vanityfair.com)\
|
|||
Wired (wired.com)
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
If WSJ stops working try removing all wsj.com site cookies.
|
||||
|
|
|
@ -27,6 +27,7 @@ var defaultSites = {
|
|||
'Nikkei Asian Review': 'asia.nikkei.com',
|
||||
'NRC': 'nrc.nl',
|
||||
'The Boston Globe': 'bostonglobe.com',
|
||||
'The Business Journals': 'bizjournals.com',
|
||||
'The Globe and Mail': 'theglobeandmail.com',
|
||||
'The Mercury News': 'mercurynews.com',
|
||||
'The Morning Call': 'mcall.com',
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
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-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)
|
||||
|
|
|
@ -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": {
|
||||
"scripts": ["background.js"]
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://*.bizjournals.com/*"],
|
||||
"js": ["contentScript.js"]
|
||||
}
|
||||
],
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "iamadamdev@hotmail.com"
|
||||
|
@ -12,10 +18,13 @@
|
|||
"default_icon": {
|
||||
"128": "bypass.png"
|
||||
},
|
||||
"theme_icons": [{
|
||||
"theme_icons": [
|
||||
{
|
||||
"light": "bypass-dark.png",
|
||||
"dark": "bypass.png",
|
||||
"size": 128 }]
|
||||
"size": 128
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "Bypass News Sites' Paywalls",
|
||||
"icons": {
|
||||
|
@ -27,6 +36,12 @@
|
|||
"options_ui": {
|
||||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.2.9"
|
||||
"permissions": [
|
||||
"cookies",
|
||||
"<all_urls>",
|
||||
"storage",
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.2.10"
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ var defaultSites = {
|
|||
'Nikkei Asian Review': 'asia.nikkei.com',
|
||||
'NRC': 'nrc.nl',
|
||||
'The Boston Globe': 'bostonglobe.com',
|
||||
'The Business Journals': 'bizjournals.com',
|
||||
'The Globe and Mail': 'theglobeandmail.com',
|
||||
'The Mercury News': 'mercurynews.com',
|
||||
'The Morning Call': 'mcall.com',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue