TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: A way to adblock “we're using cookies” popups?

668 pointsby rayalezalmost 5 years ago
Whatever the intent of the GDPR was, the practical result is that now I have to click away the annoying &quot;we&#x27;re using cookies&quot; popup on every website.<p>Is there any way to do this automatically? If there isn&#x27;t - there should be. Maybe people should use some special tag for them, so that it would be easy for users to block them on all the websites, if they want to.

39 comments

gpasalmost 5 years ago
If you are already using ublock origin go to settings &gt; filters list &gt; annoyances, turn on easylist-cookies.
评论 #23521922 未加载
评论 #23522093 未加载
评论 #23523895 未加载
评论 #23522553 未加载
评论 #23521611 未加载
评论 #23522318 未加载
评论 #23522292 未加载
评论 #23524558 未加载
评论 #23524479 未加载
评论 #23522115 未加载
评论 #23526788 未加载
评论 #23522725 未加载
评论 #23522383 未加载
评论 #23526368 未加载
评论 #23521944 未加载
评论 #23525025 未加载
评论 #23522939 未加载
Reason077almost 5 years ago
The EU cookie laws were well-meaning, but have had the unintended consequence of making the web more annoying, more difficult to use, and more fragmented. We shouldn’t have to resort to ad blockers just to make the web usable again.<p>The solution? Cookie consent should be a built-in feature of browsers and http, not something that is reimplemented in a slightly different way by every single website.<p>Your <i>browser</i> should pop up a standardised cookie consent request when you browse a new site, and enforce your selection as part of its security policy. If you choose to block all cookies (ie: private browsing mode) then the cookie consent request wouldn’t need to appear at all.
评论 #23526362 未加载
评论 #23526737 未加载
评论 #23527380 未加载
评论 #23525615 未加载
评论 #23526471 未加载
评论 #23526468 未加载
评论 #23527295 未加载
评论 #23526630 未加载
评论 #23526451 未加载
评论 #23532684 未加载
评论 #23525605 未加载
评论 #23525576 未加载
评论 #23526261 未加载
markgavaldaalmost 5 years ago
Yes, quite easily: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;i-dont-care-about-cookies&#x2F;fihnjjcciajhdojfnbdddfaoknhalnja" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;i-dont-care-about-...</a>
评论 #23521572 未加载
评论 #23521578 未加载
评论 #23521580 未加载
评论 #23521622 未加载
scarface74almost 5 years ago
So you mean government involvement in tech both didn’t serve its intended purpose and its an annoyance to the end user? I would have never guessed....
评论 #23522669 未加载
评论 #23522764 未加载
marcrosoftalmost 5 years ago
We should encourage the EU to remove this ridiculous requirement.
评论 #23522053 未加载
评论 #23521963 未加载
评论 #23521760 未加载
评论 #23521785 未加载
评论 #23522574 未加载
评论 #23521859 未加载
评论 #23524691 未加载
评论 #23521814 未加载
swixmixalmost 5 years ago
I use vimium[1] to close <i>most</i> pop-ups by typing &quot;f&quot; and then hitting the letter that pops up next to the close button.<p>If that doesn&#x27;t work, I use a bookmarklet called &quot;Remove Sticky&quot;[2]. I type &quot;bre&quot; and hit enter when sticky things pop up to get them gone.<p>[1]: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;vimium&#x2F;dbepggeogbaibhgnhhndojpepiihcmeb" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;vimium&#x2F;dbepggeogba...</a><p>[2]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23446504" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23446504</a>
评论 #23522246 未加载
TACIXATalmost 5 years ago
I can&#x27;t believe this isn&#x27;t handled by the browser. Make a standard API like the location or notification pop ups. Have a setting that says I understand what cookies are and I accept all.
评论 #23523023 未加载
评论 #23524626 未加载
评论 #23523315 未加载
评论 #23523173 未加载
评论 #23523134 未加载
thihtalmost 5 years ago
I feel like something should have been implemented at browser level through HTML meta tags to display the cookie banner. This would allow websites to declare technical cookies that cannot be blocked and other cookies that can be blocked by the user. We could even have a standardized, native cookie banner in the same way as the permissions asked by the browser.<p>Any idea if there&#x27;s a chance to get this one day?
评论 #23524873 未加载
评论 #23525415 未加载
评论 #23525210 未加载
评论 #23524699 未加载
mrweaselalmost 5 years ago
There’s an “I don’t care about cookies” plugin for Firefox, it just hides the cookie popup. It’s not perfect but works well enough.
评论 #23526339 未加载
dificilisalmost 5 years ago
For people who are disabled, dismissing cookie dialogs is one extra difficult pointless thing they have to do _every_ time they visit any website.<p>Is this a violation of human rights?
评论 #23523644 未加载
评论 #23524272 未加载
talideonalmost 5 years ago
I would recommend the Consent-O-Matic (<a href="https:&#x2F;&#x2F;github.com&#x2F;cavi-au&#x2F;Consent-O-Matic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cavi-au&#x2F;Consent-O-Matic</a>) plugin. It doesn&#x27;t get rid of everything, but it does automatically fill in the forms on practically every website, and you can submit an issue to them when it misses one. I have it set up to automatically deny.
TechBro8615almost 5 years ago
I’ve always thought this should be a browser feature. It would be more useful than the DNT header, anyway...
评论 #23521953 未加载
评论 #23522042 未加载
jimnotgymalmost 5 years ago
There is a really frustrating thing happening on this thread where people are downvoting answers that are technically correct, which suggests they must be simply disagreeing with the writers opinion on underlying politics. That is a sad way for hn to go.
评论 #23524072 未加载
评论 #23522217 未加载
atletaalmost 5 years ago
They most of the time shouldn&#x27;t be &quot;we&#x27;re using cookies (and we&#x27;ve planted all of them without your consent, oops)&quot; anyway, but consent managers.<p>But yeah, this could be handled in a more user friendly way, if there was a standard way to express the consent options (with the cookies and their functionalities) that the browsers could parse. Then the page could check if the browser handles it or if it has to fall back to what they&#x27;re doing now.
评论 #23524648 未加载
TooKool4Thisalmost 5 years ago
Any solutions for mobile (iOS)? This problem is really painful on mobile devices where (in Safari) the popup takes up half the screen after the url+nav bars takes up a quarter leaving you with 25% of the screen to look at the actual content (with autoplaying ad videos every few paragraphs if you are lucky!) until you dismiss the popup.<p>Argh, makes me angry just thinking about it. The web is becoming increasingly painful to use through a UI browser.
评论 #23522326 未加载
myfonjalmost 5 years ago
For &quot;manual&quot; cleanup I&#x27;m using slightly extended universal &quot;Sweep Stickies&quot; bookmarklet [1], based on idea taken from &quot;Kill Sticky&quot; [0]. Removes generally all those banners and overlays obscuring content and eating viewport. (Userscript available [2], but I prefer good old bookmarklet way for this.)<p>It literally crawls all elements in page, tests their computed style and removes those with sticky position (and a bit more). Works quite well for me.<p>[0] <a href="https:&#x2F;&#x2F;alisdair.mcdiarmid.org&#x2F;kill-sticky-headers&#x2F;" rel="nofollow">https:&#x2F;&#x2F;alisdair.mcdiarmid.org&#x2F;kill-sticky-headers&#x2F;</a> [1] <a href="http:&#x2F;&#x2F;myfonj.github.io&#x2F;utils&#x2F;bookmarklets&#x2F;sweep-stickies.html" rel="nofollow">http:&#x2F;&#x2F;myfonj.github.io&#x2F;utils&#x2F;bookmarklets&#x2F;sweep-stickies.ht...</a> [2] <a href="https:&#x2F;&#x2F;greasyfork.org&#x2F;en&#x2F;scripts&#x2F;370572-sweep-stickies" rel="nofollow">https:&#x2F;&#x2F;greasyfork.org&#x2F;en&#x2F;scripts&#x2F;370572-sweep-stickies</a>
Brajeshwaralmost 5 years ago
Try These,<p>- For Safari, if you&#x27;re using 1Blocker, in &quot;General&quot; &gt; &quot;Block Annoyances&quot;.<p>- For NextDNS, I thought I saw &quot;Annoyances&quot; but could not find it now. Should have it somewhere.<p>- Chrome have a plethora of Extensions that &quot;don&#x27;t care about cookies&quot; or similar. Other than that, as someone else commented, uBlock Origin &gt; Settings &gt; Filters List &gt; Annoyances
评论 #23524608 未加载
评论 #23524296 未加载
rajangdavisalmost 5 years ago
Depending on how bad the warning is, it might be easier to disable javascript. Have found that this gets around some noiser news sites.
rhardihalmost 5 years ago
Still have to click to remove it the first time, but I made an extension for this very purpose: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;ekill&#x2F;lcgdpfaiipaelnpepigdafiogebaeedg" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;ekill&#x2F;lcgdpfaiipae...</a>
ghostwordsalmost 5 years ago
Check out Cliqz Autoconsent: <a href="https:&#x2F;&#x2F;github.com&#x2F;cliqz-oss&#x2F;autoconsent" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cliqz-oss&#x2F;autoconsent</a><p><i>This is a library of rules for navigating through common consent popups on the web. These rules can be run in a Firefox webextension, or in a puppeteer orchestrated headless browser. Using these rules, opt-in and opt-out options can be selected automatically, without requiring user-input.</i><p><i>This library is primarily used by the cliqz browser in order to automate user-consent, and make a cleaner browsing experience. There is also a standalone addon that can be installed in Firefox.</i>
jgimenezalmost 5 years ago
I&#x27;m tired or ad blockers, they make the page usually slower to load. Even if they save you some downloading, they usually block the loading pipeline, so they end up costing you more time. I use a combination of &quot;I don&#x27;t care about cookies&quot; to automatically accept all cookies, so websites are free to show the ads they want and send me the cookies they want. Then I use Firefox Enhanced Tracking Protection in strict mode to delete all tracking cookies as I go. It has worked great so far. Yes, I see ads, but they&#x27;re not targeted and the page loads fast.
atiripalmost 5 years ago
I use Safari User Stylesheet. This is mine:<p><pre><code> &#x2F;* &quot;custom&quot; *&#x2F; [class*=&quot;as-oil&quot;]:not(body, html), [class*=&quot;optanon&quot;]:not(body, html), &#x2F;* &quot;generic&quot; *&#x2F; [class*=&quot;consent&quot;]:not(body, html), [id*=&quot;consent&quot;], [class*=&quot;gdpr&quot;]:not(body, html), [id*=&quot;gdpr&quot;], [class*=&quot;announcement&quot;]:not(body, html), [id*=&quot;announcement&quot;], [class*=&quot;policy&quot;]:not(body, html), [id*=&quot;policy&quot;], [class*=&quot;cookie&quot;]:not(body, html), [id*=&quot;cookie&quot;] { display: none!important; visibility: hidden!important; transform: scale(0)!important; opacity: 0!important; width: 0!important; height: 0!important; z-index: -1!important; background: transparent!important; color: transparent!important; font-size:0!important; }</code></pre>
jeff3dxalmost 5 years ago
1Blocker for iPhone filters most “we’re using cookies” annoyances.
iniminoalmost 5 years ago
At this point we&#x27;re better off building a <i>samizdat</i>-like shadow WWW which simply loads the genuine content by using the URL as a content identifier, but without relying on the HTTP server on port 443 on the A or AAAA record mentioned in the domain. URLs are also URIs, after all, and nobody said we have to put up with broken servers being the only content resolver available.
BurningFrogalmost 5 years ago
I never get Jehovah&#x27;s Witnesses knocking on my door to talk about Jesus anymore.<p>Instead I have the EU asking me about Cookies on every other web page.
Good_Karmaalmost 5 years ago
Yes. Install uBlock Origin. Right click on ad &#x2F; pop up -&gt; Block Element ( a rule is automatically generated ) -&gt; Create. Voila ! You might have to do it 2-3 times for the same element as it might have several layers. But then you&#x27;re done and you haven&#x27;t been forced into clicking. &quot;ok&quot;
lazyjonesalmost 5 years ago
I use &quot;Banner Hunter&quot; for Safari which does just this and nothing else. Unfortunately it will sometimes leave the websites unusable because it removes the modal cookie banners but not the &quot;greying out&quot; layer over the content that disables it while the banner is visible...
评论 #23525173 未加载
vz8almost 5 years ago
Thank you.<p>There are numerous sites I go to regularly incognito to log in as an admin vs. end-user: several have low-profile, low-contrast cookie warnings which disable all other menus until you acknowledge them (without an apparent overlay). Just that little extra bit of friction every day adds up.
tgsovlerkhgselalmost 5 years ago
In addition to taking whatever technical measures you are taking, if you&#x27;re in the EU, consider also grabbing one web site that has a particularly bad consent flow (e.g. a dozen clicks to not get tracked, or a &quot;click or scroll anywhere to consent&quot;), and report them to the appropriate DPA.<p>The DPAs often only work off consumer reports.<p>You need to know that these popups are a result of two separate laws: The ePrivacy directive aka Cookie Law, and GDPR. GDPR is enforceable one that you care about. A web site can process your data (e.g. for personalized ads) for one of the explicitly given reason, the most common ones being &quot;legitimate interest&quot;, &quot;fulfillment of a contract&quot; and &quot;consent&quot;.<p>There have been a couple recent statements about what counts and doesn&#x27;t count as legitimate interest, fulfilling a contract, and consent.<p>You also have the right to ask the controller of the data (not the processor) for a list of data stored about you. Try it with one of said web sites! Make a clean cookie jar, use the site and only the site, send them the cookie jar, and see what data they store. (If they don&#x27;t, file a complaint with the DPA)
alkonautalmost 5 years ago
When my browser just hides the popup or banner, which setting did I choose?<p>The GDPR is pretty clear that opting out must be the default choice, but it wouldn’t surprise me if some use a system that only follows that if it is actually shown.
评论 #23522293 未加载
评论 #23522973 未加载
aembletonalmost 5 years ago
Import the following filter list into uBlock Origin: <a href="https:&#x2F;&#x2F;www.i-dont-care-about-cookies.eu&#x2F;abp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.i-dont-care-about-cookies.eu&#x2F;abp&#x2F;</a>
sneeuwpopsneeuwalmost 5 years ago
Most cookie popups are using javascript so when one is popping up i use the chrome extension &quot;Quick Javascript Switcher&quot; to toggle the Javascript off. This does not always work but it works in most cases.<p>I tried external list for Ublock as well. They say they will remove those things but they sometimes break things. Video&#x27;s or slideshows for example did not seam to work when Ublock removed the cookie pup-ups.
mD5pPxMcS6fVWKEalmost 5 years ago
I use &quot;I don&#x27;t care about cookies&quot; extension for Firefix, seems to work well.
评论 #23523425 未加载
spartasalmost 5 years ago
Don&#x27;t drag the GDPR through this mess. It&#x27;s not the fault of the GDPR that everyone decided that these cookie consent walls are the new normal.<p><a href="https:&#x2F;&#x2F;techcrunch.com&#x2F;2020&#x2F;05&#x2F;06&#x2F;no-cookie-consent-walls-and-no-scrolling-isnt-consent-says-eu-data-protection-body&#x2F;" rel="nofollow">https:&#x2F;&#x2F;techcrunch.com&#x2F;2020&#x2F;05&#x2F;06&#x2F;no-cookie-consent-walls-an...</a>
blacklightalmost 5 years ago
1. Cookie policy management should be done at browser level with using standard HTML&#x2F;JS constructs. Instead, everyone nowadays is doing it by adding custom HTML to their own pages to handle the panel&#x2F;popup logic: they&#x27;re doing it wrong, because it makes it much harder to detect which part of the page hosts the cookie settings panel.<p>2. Also, many of those panels have &quot;Accept all&quot; as a default option. Many make it purposely hard to disable some trackers without going deep down into crowded cookies preference pages. This is also the wrong way of complying to GDPR, and the sites that do it must be appropriately punished. The default should be &quot;Deny all except for non-third-party functional cookies&quot;.<p>3. In the meantime, NoScript helps blocking some of that crap. If you never whitelist domains like cookielaw.com you&#x27;re unlikely to see many of them.
Angosturaalmost 5 years ago
&gt; The EU cookie laws were well-meaning, but have had the unintended consequence of making the web more annoying, more difficult to use, and more fragmented.<p>Not really. GDPR says that non-transactional cookies should default off.
sillycubealmost 5 years ago
except giving me more troubles whether as a developer or a web surfer, I don&#x27;t know what value is given by GDPR
082349872349872almost 5 years ago
My heritage is of a web that worked just fine without cookies at all.
ajimixalmost 5 years ago
Contact the EU and tell them to remove that non-sense rule as it makes the internet waste time clicking annoying things that nobody reads or cares.
评论 #23524343 未加载
评论 #23524333 未加载
评论 #23524750 未加载
评论 #23524786 未加载
评论 #23524724 未加载