93
submitted 8 months ago* (last edited 8 months ago) by joeldebruijn@lemmy.ml to c/privacy@lemmy.ml

My questions are:

  • Does the DuckDuckGo Firefox extension "Privacy Essentials" add a local css file to every visited site?
  • Can others reproduce this?
  • Is this harmfull or not?

Background:

I have a simple static one page site with just one html and css file. It's completely tracker free. Debugging it a bit with developer mode (F12) on I discovered a second css file. This file isnt on my webserver but added local. To pinpoint what caused this I removed every add-on / extension in my browser one by one, reloading and checking my website every time. Took me a while because didnt expect this one causing it.

To reproduce:

  • Install the extension from the link.
  • Open a random site
  • Check in developer mode the tab Style editor.
  • Scroll and look for a file named %3Ais(%5Bid*%3D'google_ads_iframe'%5D%.css or something like that.
  • Remove the extension and refresh.
  • Check if the file disappears.

Content of the css file: :is([id*='google_ads_iframe'], [id*='taboola-'], .taboolaHeight, .taboola-placeholder, #credential_picker_container, #credentials-picker-container, #credential_picker_iframe, [id*='google-one-tap-iframe'], #google-one-tap-popup-container, .google-one-tap-modal-div, #amp_floatingAdDiv, #ez-content-blocker-container) { display:none!important; min-height:0!important; height:0!important; }

Edit 25-03-2024: Changed title to not give the wrong impression. See comments below.

top 17 comments
sorted by: hot top controversial new old
[-] anamethatisnt@lemmy.world 141 points 8 months ago* (last edited 8 months ago)
[-] joeldebruijn@lemmy.ml 54 points 8 months ago

Oh thnx, I should search more around. 😁👍

Solid answers there.

[-] Syn_Attck@lemmy.today 9 points 8 months ago

You should edit the title because most people aren't going to click through and read, they're just going to assume the title is correct.

[-] joeldebruijn@lemmy.ml 1 points 8 months ago

Fair point, done!

[-] governorkeagan@lemdro.id 4 points 8 months ago
[-] belated_frog_pants@beehaw.org 40 points 8 months ago

This CSS hides all google widgets and ad frames. The parts in the parens are element selectors and the bottom part in curly braces are where it removes visibility and size

This is how DDG is accomplishing its privacy partly. Once googles ad scripts are blocked the items in these selectors are just blank and this is to remove that weird whitespace left behind.

[-] MrSoup@lemmy.zip 37 points 8 months ago

Without looking too much, I think it is to remove white spaces left behind by removing google ads.

[-] possiblylinux127@lemmy.zip 0 points 8 months ago

Yeah DDG is kind of a placebo

[-] delirious_owl@discuss.online -1 points 8 months ago

I dont use the extension, but I saw a CAPTCHA on ddg for the first time the other day. I'm not a bot, but why would it even matter if I wrote a bot that used ddg?

Sigh, what's the best ddg alternative?

[-] GammaGames@beehaw.org -3 points 8 months ago

So you didn’t even try to understand the css, did you?

[-] joeldebruijn@lemmy.ml 26 points 8 months ago

No I did try and since you're interested in my learning curve versus my personal effort: Since two weeks I learned css for the first time, hobby related and just about to start knowing about flexbox css grid float div and styling them.

[-] GammaGames@beehaw.org 19 points 8 months ago

Sorry for being so harsh, that’s totally fair!

[-] swayevenly@lemm.ee 6 points 8 months ago* (last edited 8 months ago)

Good luck. W3Schools is a great place to learn beginner stuff and for quick refreshers.

[-] Templa@beehaw.org 3 points 8 months ago

I hate W3Schools and Geeksforgeeks, I have them blocked on my search lol

MDN all the way

[-] catloaf@lemm.ee 4 points 8 months ago

W3Schools used to be terrible, but it's gotten better. MDN is still great, but it's very much a pure technical reference, not great learning material.

[-] Templa@beehaw.org 3 points 8 months ago

Well, when I was learning I didn't see any issue in using it. I also just learned they have a learning area

[-] Lemongrab@lemmy.one 4 points 8 months ago

What is wrong with them? I have found the useful and there examples help me to learn more about context. I am not saying anything about MDN, it may just be superior, but I've rarely referenced it.

this post was submitted on 23 Mar 2024
93 points (77.5% liked)

Privacy

32130 readers
713 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS