Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 2.12 KB

README.md

File metadata and controls

68 lines (46 loc) · 2.12 KB

Recipe Paywall Smasher 💥

Hacky paywall avoidance extension for:

Installation

$ yarn
$ yarn build

Then follow instructions for individual browsers...

Firefox

There's a couple options for developing in FF. In either option, you must first downgrade the manifest_version to 2 in manifest.json.

Temporary installation

Follow these instructions

Self-distributed

  • Create a Mozilla profile/add-on key
  • Create an .env file
  • Populate AMO_JWT_ISSUER and AMO_JWT_SECRET values from key generated above
  • Run the sign and build commands:
$ yarn sign:android && yarn build:android

Chrome

  • Visit extensions settings
  • Toggle on Developer mode
  • Click Load unpacked and select root directory

Alternatively, follow these instructions

Safari

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 in Develop menu

  • Toggle on NYT Paywall Smasher in Preferences > Extensions