Cookie Policy
What a cookie is
A cookie is a small text file that a website asks your browser to store. The browser sends the file back the next time you visit, so the site can remember a small piece of state — for example, that you already dismissed a banner. Modern sites also use related technologies (local storage, session storage, pixel tags, device-storage APIs); for the purposes of this page, "cookie" means any of these.
Categories of cookies on this site
1. Strictly necessary
Used only to make the site function. They do not track you across other sites and are exempt from consent requirements under EU rules.
2. Preferences
Remember small in-session choices, such as a code-block "copied" indicator on tools pages. These are first-party and do not leave the site.
3. Analytics
If analytics is enabled on the site, it is used in aggregate to count page views and understand which content is useful. Where supported, IP anonymization is on.
4. Advertising (Google AdSense)
This site shows ads through Google AdSense. Google and its partners use cookies and similar technologies to:
- Show ads on this site, and on other sites you visit, that may be relevant to your interests.
- Limit how many times you see the same ad.
- Detect and stop click fraud.
- Measure the effectiveness of ad campaigns.
The cookies in this category include Google's NID, IDE, the DoubleClick cookie, and others Google may add over time. Where required by law, these cookies are only set after you have given consent through the site's consent control.
Cookies in use
| Provider | Purpose | Category | Typical lifetime |
|---|---|---|---|
| csstopsites.com (first-party) | UI state such as code-copy feedback | Strictly necessary / preferences | Session |
| Google (AdSense / DoubleClick) | Serving and measuring ads, frequency capping, fraud prevention | Advertising | Up to 2 years (provider-set) |
| Analytics provider (if enabled) | Aggregate page-view counts | Analytics | Up to 14 months |
How to manage cookies
You can control cookies in two places:
- This site's consent control. Where the site is required to ask, a consent banner appears the first time you visit. You can change your choices at any time by reopening that control.
- Your browser. Every modern browser lets you block third-party cookies, clear existing cookies, or open a "private" window that does not persist them. The exact menu path differs by browser.
Opting out of personalized advertising
- Google Ads Settings — turn personalized advertising on or off across Google products.
- Your Online Choices — manage interest-based advertising preferences across many ad networks (EU).
- DAA WebChoices — equivalent opt-out tool in the United States.
- Google's advertising technologies — background on what Google's ad cookies do.
Opting out of personalized advertising does not remove ads — it only makes them less specifically targeted to you.
Changes to this policy
If the cookie list or categories change, the "Last reviewed" date at the top is updated. For material changes, the site will surface a notice for a reasonable period.
Contact
Cookie or privacy questions: [email protected].