https://github.com/zigomir/readr
Chrome Extension for interesting page statistics
https://github.com/zigomir/readr
Last synced: over 1 year ago
JSON representation
Chrome Extension for interesting page statistics
- Host: GitHub
- URL: https://github.com/zigomir/readr
- Owner: zigomir
- Created: 2014-12-08T23:27:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-26T19:57:06.000Z (over 11 years ago)
- Last Synced: 2025-03-01T00:14:15.309Z (over 1 year ago)
- Language: JavaScript
- Size: 1.54 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Learned
https://gist.github.com/jjperezaguinaga/4243341
If you define `popup.html` in `manifest.json` file, you can't use `chrome.browserAction.onClicked` on
`background.js`. But then you can just send message from `popup.html` and listen to it inside `background.js`.
Caveat: you need to include a JS from a file into popup.html. Using JS in `popup.html` file between ``
tags won't work! -> this is know fact, you cant inline JS for Chrome extensions.
## Rights
Icon taken from http://bobsicle0.deviantart.com/art/Rainbow-Dash-Imminent-Laughter-455616326
## Development
```bash
npm run start
```
### Testing
```bash
npm run watch-tests
# another terminal
npm test
```