GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

CSS fingerprinting

CSS fingerprinting is a browser fingerprinting technique that allows a website to identify and track visitors using CSS. CSS fingerprinting is stateless, that is, it does not require the computer system running the browser to remember information. It leverages differences across browsers, or CSS queries that allow programmers to target different systems, to infer information about a user's system. Since CSS is typically allowed in areas where JavaScript code execution is disabled, such as in email clients, it has a larger reach than most browser fingerprinting techniques, which typically rely on JavaScript code. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

CSS fingerprinting is a browser fingerprinting technique that allows a website to identify and track visitors using CSS. CSS fingerprinting is stateless, that is, it does not require the computer system running the browser to remember information. It leverages differences across browsers, or CSS queries that allow programmers to target different systems, to infer information about a user's system. Since CSS is typically allowed in areas where JavaScript code execution is disabled, such as in email clients, it has a larger reach than most browser fingerprinting techniques, which typically rely on JavaScript code. @media (max-width: 600px) { body { background-image: url("https://example.com/log?device=mobile"); } } @media (min-width: 601px) and (max-width: 1200px) { body { background-image: url("https://example.com/log?device=tablet"); } } @media (min-width: 1201px) { body { background-image: url("https://example.com/log?screen=laptop"); } } In the example, a set of CSS directives are declared that use media queries. The CSS directives apply different types of backgrounds on to the body element depending on the result of queries on the width of a user's screen. The background in turn makes a request to a remote URL for that background image, with the choice of image conveying information about the type of device. The remote URL can now collect information on which device was used based on which image was requested.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"CSS fingerprinting". 1784040726. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1364121022

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·