🚨 This project is essentially depricated 🚨
Please use the nyt-paywall project instead
Hacky paywall avoidance extension for NYT cooking
$ 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-cooking-safari
$ cd nyt-cooking-safari
$ xcrun safari-web-extension-converter ../nyt-cooking --bundle-identifier com.[YOUR NAME HERE].nytCookingPaywallSmasher
-
Open Xcode (if it didn't automatically open)
-
Select macOS scheme (
Product
>Scheme
>nytCookingPaywallBreaker (macOS)
) -
Run build (
Product
>Build
) -
Open Safari
-
Toggle on
Allow Unsigned Extensions
inDevelop
menu -
Toggle on
NYT Cooking Paywall Smasher
inPreferences
>Extensions