Hacky paywall avoidance extension for:
$ yarn
$ yarn build
Then follow instructions for individual browsers...
There's a couple options for developing in FF.
In either option, you must first downgrade the manifest_version
to 2
in manifest.json
.
- Create a Mozilla profile/add-on key
- Create an .env file
- Populate
AMO_JWT_ISSUER
andAMO_JWT_SECRET
values from key generated above - Run the sign and build commands:
$ yarn sign:android && yarn build:android
- Visit extensions settings
- Toggle on
Developer mode
- Click
Load unpacked
and select root directory
Alternatively, follow these instructions
You can use a safari-web-extension-converter to build the extension.
I would recommend moving this into a sibling directory and updating the bundle identifier to something of your fancy.
$ mkdir ../nyt-paywall-safari
$ cd nyt-paywall-safari
$ xcrun safari-web-extension-converter ../nyt-paywall --bundle-identifier com.[YOUR NAME HERE].nytPaywallSmasher
-
Open Xcode (if it didn't automatically open)
-
Select macOS scheme (
Product
>Scheme
>nytPaywallSmasher (macOS)
) -
Run build (
Product
>Build
) -
Open Safari
-
Toggle on
Allow Unsigned Extensions
inDevelop
menu -
Toggle on
NYT Paywall Smasher
inPreferences
>Extensions