https://github.com/richja/paid-notify
Chrome extension to notify you ahead about paid articles
https://github.com/richja/paid-notify
browser-extension chrome extension firefox
Last synced: 5 months ago
JSON representation
Chrome extension to notify you ahead about paid articles
- Host: GitHub
- URL: https://github.com/richja/paid-notify
- Owner: richja
- Created: 2017-09-16T01:26:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-16T22:02:05.000Z (over 1 year ago)
- Last Synced: 2025-03-16T22:29:18.549Z (over 1 year ago)
- Topics: browser-extension, chrome, extension, firefox
- Language: JavaScript
- Homepage: https://richja.cz/#paidcontent
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Paid Content Alert
[](https://circleci.com/gh/richja/paid-notify)
**Browser addon to notify you when you are about to read just a snippet of an article with paid content.**
Available in stores:
[](https://chrome.google.com/webstore/detail/paid-content-alert/hnagmphbnaloflgnhkkbniknbpmlackl) [](https://addons.mozilla.org/en-US/firefox/addon/paid-content-alert/)
Any feedback is more than welcomed, same as reporting websites you are missing on the list.
## Development
### Adding new website
1. Add record to `sites.json`
2. Add a domain to matches in manifest
3. Bump version in manifest
4. Test locally and create a pull request
See [this commit](https://github.com/richja/paid-notify/commit/94c5840020e676cad1e8991aeda69ba078f58a17) for an example.
Arguments for a record in `sites.json`:
- website hostname
- function to call
- argument for called function
- [delay on called function, 0 by default]
- [sample url where notification should be visible]
- [sample url where notification should NOT be visible]))
### Using Gulp tasks
1. Run `npm install` to get Gulp ready
2. Run `gulp` to pack and minify all the files to a zipped folder
3. Gulp will generate versions for both Chrome and Firefox
Having issues running Gulp from command line?
Run `npm i -g gulp-cli` and try again
### Tests
Run `npm test` to run all tests
(You may need to run `gulp dist:chrome` first)