adblock-plus-crx
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "adblock-plus-crx", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Adblock-Plus crx base64 encoded binary for chromedriver", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,28 +44,11 @@ # Adblock-Plus.crx | ||
# How do make your own crx (instructions for OSX) | ||
1. Use a clean directory | ||
``` | ||
mkdir -p ~/Downloads/Adblock-Plus/1.12.4 | ||
cd ~/Downloads/Adblock-Plus/1.12.4 | ||
``` | ||
1. Download the crx file from adblockplus.org | ||
```bash | ||
curl https://downloads.adblockplus.org/adblockpluschrome-1.12.4.crx -o Adblock-Plus_v1.12.4.crx | ||
``` | ||
1. Unzip the crx | ||
``` | ||
unzip Adblock-Plus_v1.12.4.crx | ||
``` | ||
1. Make your modifications | ||
# Using a custom crx (instructions for OSX) | ||
1. Fork this project | ||
1. Rename the package | ||
1. Update the adblock-plus-crx version in package.json | ||
1. Add modifications to ```./scripts/update.sh``` | ||
1. Run ```./scripts/update.sh``` from forks root directory - i.e. the one containing package.json | ||
1. Commit your changes and publish to npm or a private repo. | ||
``` | ||
sed -i '' -e 's/defaults.suppress_first_run_page = false;/defaults.suppress_first_run_page = true;/' lib/adblockplus.js | ||
``` | ||
1. Rezip the crx (-u --update doesn't work for me) | ||
``` | ||
zip Adblock-Plus_v1.12.4.crx . -r | ||
``` | ||
# Pull Requests | ||
If you don't want to publish an alternative version of this package, I will consider pull requests for adblock-plus version updates and generally useful modifications, however the later should be done by amending ```./scripts/update.sh```. I cannot accept changes to the crx file itself. |
Sorry, the diff of this file is not supported yet
554377
54