https://github.com/chaoyangnz/cookie-collector
https://github.com/chaoyangnz/cookie-collector
chrome-extension cookie itp
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chaoyangnz/cookie-collector
- Owner: chaoyangnz
- Created: 2019-04-12T01:02:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T09:22:16.000Z (about 7 years ago)
- Last Synced: 2025-01-26T20:46:39.665Z (over 1 year ago)
- Topics: chrome-extension, cookie, itp
- Language: JavaScript
- Size: 51.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cookie-collector
This is a Chrome Extension to collect where a client-side cookie is born: context(top frame or iframe), script(call function, js file, line number) and which response set HTTP cookies.
These data is useful to audit the website cookie usage so that the risk can be aware due to the new release of Safari ITP 2.1 which enforces some restrictions on client-side cookies.
## install
- Open Chrome -> More Tools -> Extensions
- Enable Developer mode
- Load unacked, and select this repo folder
## Start Cookie-Audit server
See also https://github.com/chaoyangnz/cookie-audit
It should be listening on 9000
## Visit a page
- Open Chrome DevTools, and open this extension background page
- Observe the logs
- visit http://localhost:9000 and see which cookies would be risky to be affected by ITP2.1 changes around client-side cookie