168 Commits

Author SHA1 Message Date
Adam
43bd4642a1 Remove indiatimes.com 2020-03-29 15:04:46 -07:00
Adam
878ed96dfb Add badge enabled status, only run GA under Chrome 2020-03-29 14:23:15 -07:00
Adam
ef4d05461a Prepare for v1.7.0 release 2020-03-29 13:40:48 -07:00
Bela Lubkin
7ad22b5996 Make Google Analytics code optional; on in Chrome / off in Firefox
- common.js: add 'allowDAU' option to control Google Analytics
- background.js: remove 'allowDAU' option during init, on Firefox
- background.js: only init Google Analytics if 'allowDAU'
- build.sh: don't do horrible things with background.js
2020-03-29 01:27:44 -07:00
Bela Lubkin
9f7550d6ab Remove Google Analytics code from Firefox build:
- background.js: add markers
- build.sh: put a special GA-cleaned version of background.js into FF .xpi
2020-03-28 04:09:23 -07:00
Bela Lubkin
da049f482a - background.js: 'extraHeaders' onBeforeSendHeaders option breaks FF, Chrome < 72 2020-03-24 01:52:59 -07:00
Bela Lubkin
7831958782 Merge upstream (boils down to just adding to allow_cookies[]):
> commit 11a6a5ebd29ab188b8625bed1d3784895a78cf2c
> Author: Adam <36013816+iamadamdev@users.noreply.github.com>
> Date:   Sat Mar 21 14:55:30 2020 -0700
>
>     Add techinasia.com
2020-03-23 03:25:29 -07:00
Bela Lubkin
09a24f110d Merge upstream (with fix: must be in remove_cookies[] for
remove_cookies_select_hold[] to be meaningful):

> commit 7d73a8a7fb8f5a757cfb0777caf26a997bf6c95a
> Author: Adam <36013816+iamadamdev@users.noreply.github.com>
> Date:   Sat Mar 21 14:41:39 2020 -0700
>
>     Fix WSJ
2020-03-23 03:25:01 -07:00
Bela Lubkin
1c3d8d622c Merge 'bypass-paywalls-firefox' extension into 'bypass-paywalls-chrome'
- include the best versions of everything (to the best of my ability...)
- include all supported sites
- update docs to always point to 'bypass-paywalls-chrome' repository
- update docs to be -- not browser-agnostic, but poly-browser
- (tested the 1st 11 sites in alphabetical order, plus WSJ -- using Opera)
- cen.acs.org: retain localstorage ('cookie warning' accepted)
- cen.acs.org: remove .meteredBar '2/3 articles remaining' bar
- XXX centralwesterndaily.com.au: not working (article window-shaded)
- all others tested seem fine (intentionally provoked failures w/ bypass
  disabled, demonstrated success when enabled)
- (end of alphabetical testing)
- move defaultSites{} from background.js & options.js to common.js
- uncertain whether FF contentScript.js code for businessinsider.com,
  haaretz.co.il, wsj.com was helpful, I left them commented out
- use browser-agnostic 'extension_api.*' in place of browser.*, chrome.*
- use 'comma-on-last-item' syntax to allow insertion & sorting without
  breaking structures, minimize commit footprints
- replace 'location.whatever' refs with consistent 'window.location.whatever'
- break structure inits into multi-line format where appropriate
- convert TABs to spaces (background.js had 2-space tabs, manifest.json 4!)
- remove trailing spaces
- sort tables which ought to be sorted, consistently using Linux `LANG=C sort`
  (strict ASCII ordering)
- XXX use of window.location.href.indexOf() considered harmful: for instance,
  'ft.com' will match 'loft.com', or 'ibm.co' (Columbia) matches 'ibm.com';
  intend to replace with something like hostDomainIs('ft.com') -- not now
- XXX Firefox completely untested; I believe a *.xpi with manifest-ff.json
  in place of manifest.json will work, but have not tried
- XXX did not attempt to update updates.json (FF), updates.xml (Chrome)
- XXX why do bypass.svg, *_screenshot.png exist?  At least should not be
  included in *.crx, *.xpi
- XXX same Google Analytics code now in FF build, not sure if this is OK
- version arbitrarily slammed to '1.7.0' (could be '2.0.0')
- code delta -283 lines (mainly defaultSites{}); or -1585 + 3 binaries,
  counting prospective retirement of 'bypass-paywalls-firefox'
- should have been something like 20 separate commits, but got out of hand...

(note 'XXX' problem areas)
2020-03-19 11:04:17 -07:00
Pol Escolar
47e118cce0 Added new site elpais.com 2020-02-27 16:00:39 +01:00
Adam
1100b74f06 Add seekingalpha.com 2020-02-26 19:35:56 -08:00
Adam
04e88a7f93 Fix bostonglobe.com 2020-02-23 13:42:58 -08:00
Adam
3d7e8be5bf Add general paywall bypass 2020-02-12 23:15:42 -08:00
Adam
34f3ee5973 Fix afr.com, thestar.com 2020-02-12 19:15:21 -08:00
Adam
4365e84498 Add thecourier.com.au 2020-02-12 18:54:33 -08:00
Adam
0ae864598b Add fd.nl 2020-02-12 18:49:37 -08:00
Adam
d258b4a194 Add adweek.com 2020-02-12 18:42:03 -08:00
Adam
7cd7081ff7 Add spectator.com.au 2020-02-12 18:38:21 -08:00
Adam
e729b82b7d Add theathletic.com 2020-02-12 18:28:00 -08:00
Adam
b7a9f71d24 Fix lrb.co.uk 2020-02-01 13:22:27 -08:00
Adam
2627757c66 Fix for WSJ blogs 2020-01-30 23:54:36 -08:00
Adam
21cb80eed2 bostonglobe cleanup 2020-01-28 22:13:18 -08:00
Adam
3e85b6159d Fix globeandmail.com 2020-01-25 17:49:22 -08:00
Adam
6054ee4b66 Fix economist.com 2020-01-25 17:41:39 -08:00
Adam
e43de3bfe4
Merge pull request #442 from iscreamcoke/master
Deprecated Liberation.fr & Zeit.de / Irish Times 'free articles only' bypassed
2019-12-16 20:53:06 -08:00
iscreamcoke
eaf174b50a
deprecated Liberation & Die Zeit 2019-12-16 20:29:44 +01:00
magnolia1234
8e230e24eb
ET Prime restrictions (only articles)
Fixes empty homepage.
Restrictions now defined with regular expressions.
2019-12-16 20:14:16 +01:00
magnolia1234
e16e620545
Fix Medium content on non-Medium sites (e.g. mail)
Medium-sites contain resources of cdn-client.medium.com.
2019-12-15 19:37:25 +01:00
magnolia1234
a3d709752f
Remove console.log (background.js) 2019-12-15 12:48:53 +01:00
magnolia1234
66d1a99648
Fix for Medium-content in Outlook mail (redirect) 2019-12-15 12:44:43 +01:00
magnolia1234
c94ed05f04
Add ET Prime (prime.economictimes.indiatimes.com)
Already in Firefox add-on.
2019-12-13 15:28:05 +01:00
magnolia1234
90b4005e26
Rename thenewsrep to new domain sofrep 2019-12-13 14:47:51 +01:00
magnolia1234
e03ebab5d9
Fix Spectator.co.uk (without uBlock Origin)
Block paywall-script.
uBlock Origing (Fanboy’s Enhanced Tracking List) can also block this: ||tinypass.com^$3p
2019-12-12 22:06:58 +01:00
magnolia1234
7ceca21835
Fix Quartz/qz.com (gdpr)
Removal of gdpr-cookie kept refreshing the page.
PS adblocker needs to block xhr-element: ||vent.qz.com/log$xhr,1p
2019-12-12 21:54:17 +01:00
magnolia1234
5f77d3d5d3
WSJ restrictions (only articles)
Like Barron's.
2019-12-10 18:34:13 +01:00
magnolia1234
93c51c5085
Update fix Boston Globe & option to block scripts while site restrictions
Only enable Boston Globe paywall-script to set cookies at homepage/sections (no text in articles while no cookies).
2019-12-10 18:28:35 +01:00
magnolia1234
a97dd292b9
Fix Philidelphia Inquirer
Block paywall-script which can also be blocked by uBlock Origin.
2019-12-08 19:24:00 +01:00
magnolia1234
5c46f96c98
Fix Foreign Policy (proper)
Block paywall-script which can also be blocked by uBlock Origin.
2019-12-08 18:38:23 +01:00
magnolia1234
f6cd49289b
Fix WSJ (reformatting)
Maintain cookies to prevent reformatting at every new page.
2019-12-08 18:26:40 +01:00
Adam
5d499f2bd9
Merge pull request #418 from magnolia1234/master
Add Towards Data Science/The Diplomat/National Post/Handelsblatt/Medium sites/London Review of Books/Times Literary Supplement &  fix Haaretz anti-adblocker/Wired/Economist/Boston Globe
2019-12-07 13:30:50 -08:00
magnolia1234
1dbea14f6c
Fix Boston Globe (restore remove_cookies) 2019-12-07 18:09:31 +01:00
magnolia1234
ff4bd2a4f2
Fix Boston Globe
Only block paywall-script + cookie-fix.
2019-12-07 18:06:38 +01:00
magnolia1234
d578f50ef1
Fix Economist timing
Refresh when still paywall, remove specific cookie and hold on to local storage.
2019-12-06 16:13:05 +01:00
magnolia1234
bab1aac418
Add Times Literary Supplement 2019-12-05 21:15:21 +01:00
magnolia1234
ad078f22d8
Add London Review of Books
Block paywall script.
2019-12-03 11:43:54 +01:00
magnolia1234
aa2667563d
Fix Wired (remove cookies) 2019-12-02 14:35:33 +01:00
magnolia1234
863db2502e
Fix sites on Medium platform (remove cookies)
Works for all sites with a Medium subscription-login, but which are not on Medium (sub)domain.
Uses Medium-option to dis/enable.
mainfest.json needs in permissions: <all_urls>
2019-11-30 13:31:52 +01:00
magnolia1234
3cb4b91c1f
Add The Diplomat/National Post/Handelsblatt
Sites already in Firefox add-on.
2019-11-28 15:22:26 +01:00
magnolia1234
54737e3e7a
Block Haaretz.com anti-adblocker script 2019-11-25 18:48:46 +01:00
magnolia1234
1305091c66
Add Towards Data Science
Medium Tech website
2019-11-25 18:31:39 +01:00