https://github.com/progfay/visited-pseudo-history-leaking
Playground for leaking protection with :link and :visited
https://github.com/progfay/visited-pseudo-history-leaking
Last synced: 3 months ago
JSON representation
Playground for leaking protection with :link and :visited
- Host: GitHub
- URL: https://github.com/progfay/visited-pseudo-history-leaking
- Owner: progfay
- License: mit
- Created: 2021-05-15T14:30:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-20T15:46:09.000Z (about 4 years ago)
- Last Synced: 2025-01-30T20:15:58.837Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 87.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `:visited` pseudo History Leaking
## Description
`:visited` pseudo class was limited getting part of style property for privacy reasons.
> For privacy reasons, browsers strictly limit which styles you can apply using this pseudo-class, and how they can be used:
>
> - Allowable CSS properties are `color`, ...
>
> From [:visited - CSS: Cascading Style Sheets | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited#privacy_restrictions)This repository was research result of implementation each browsers.
## Result
Generated Date: Tue, 18 May 2021 14:45:53 GMT
| Browser | `color` of `:link` | `color` of `:visited` | Valid? |
| :------- | :----------------: | :-------------------: | :----: |
| chromium | `rgb(0, 128, 0)` | `rgb(0, 128, 0)` | ⭕ |
| firefox | `rgb(0, 128, 0)` | `rgb(0, 128, 0)` | ⭕ |
| webkit | `rgb(0, 128, 0)` | `rgb(0, 128, 0)` | ⭕ |