https://github.com/nyoungstudios/web-info
Saves helpful web info to a JSON file using the Chrome Local Storage API.
https://github.com/nyoungstudios/web-info
chrome-extension chrome-storage-api json
Last synced: 2 months ago
JSON representation
Saves helpful web info to a JSON file using the Chrome Local Storage API.
- Host: GitHub
- URL: https://github.com/nyoungstudios/web-info
- Owner: nyoungstudios
- Created: 2020-11-22T23:05:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-22T23:25:04.000Z (over 5 years ago)
- Last Synced: 2025-01-21T04:41:37.394Z (over 1 year ago)
- Topics: chrome-extension, chrome-storage-api, json
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web Info
Saves helpful web info to a JSON file using the Chrome Local Storage API.
## Use Case
I was working on a web scraping project where I needed to quickly collect a lot of cookie and referrer data associated with its respective url so I could feed my web scraper with valid data. Instead of opening up the Chrome developer console every time, I built this simple Chrome extension.
## How to use?
1. Clone this repo to your local machine.
2. Change the url matches under content_scripts in the [manifest.json](./manifest.json) file to the url patterns you would like to gather data from.
3. Load the unpacked extension in Google Chrome (chrome://extensions)
4. Every time you visit a web site that is included in the url patterns, it will print to console the number of urls that are in storage.
5. Then, click the Chrome extension icon to download the JSON file containing all the data.
6. After clicking the extension, all previously stored data will be erased (so please do not cancel the download - unless you don't want the data).