noai.duckduckgo.com shows a HUGE duck

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Re: noai.duckduckgo.com shows a HUGE duck

Post by Mæstro » 2026-02-04, 19:41

Lucio Chiappetti wrote:
2026-02-04, 19:19
removed (commented out) in userContent and site works
View Source shows most (all?) SVG have a viewbox
Could you please explain how to do this in more detail? I have heard vaguely before about ‘usercontent’ having to do with CSS, but that is as far as my knowledge goes.
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

Lucio Chiappetti
Keeps coming back
Keeps coming back
Posts: 894
Joined: 2014-09-01, 15:11
Location: Milan Italy

Re: noai.duckduckgo.com shows a HUGE duck

Post by Lucio Chiappetti » 2026-02-04, 20:02

1) I went to .moonchild productions/pale moon/xxxxxxx.default/chrome in my profile, edited userContent.css and added the code supplied by vannilla (to enable)

2) I went to the same file and enclosed such code between /* ... */ (java style comments) to disable (but keeping "historical track")
I confess I had to look another file to verify the necessary comment style (could not remember if #, // or /* ... */ )
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Re: noai.duckduckgo.com shows a HUGE duck

Post by Mæstro » 2026-02-04, 22:20

Lucio Chiappetti wrote:
2026-02-04, 20:02
1) I went to .moonchild productions/pale moon/xxxxxxx.default/chrome in my profile, edited userContent.css and added the code supplied by vannilla (to enable)

2) I went to the same file and enclosed such code between /* ... */ (java style comments) to disable (but keeping "historical track")
I confess I had to look another file to verify the necessary comment style (could not remember if #, // or /* ... */ )
Applying Vannilla’s code works on one of my test sites for removing the LLM summary button, but not the giant @ button lower on that page or the SNS icons on my other test site, both when viewed with website.net * * block in µBlock. That this solution works in part suggests that usercontent.css rules of some sort should work, but when I open the inspector and click on any of the surviving, offending SVG icons, nothing happens, and it is hard to wade through the source code to tell which entries they are so they can be targeted. :(
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
Moonchild
Project founder
Project founder
Posts: 38821
Joined: 2011-08-28, 17:27
Location: Sweden

Re: noai.duckduckgo.com shows a HUGE duck

Post by Moonchild » 2026-02-04, 22:28

There's nothing wrong with SVG having a viewbox; it just specifies the internal viewing frame of the SVG. What is wrong is if websites assume the dimensions in the viewbox also automatically mean the external dimensions of the image object of the SVG; they don't.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Re: noai.duckduckgo.com shows a HUGE duck

Post by Mæstro » 2026-02-04, 22:40

Moonchild wrote:
2026-02-04, 22:28
There's nothing wrong with SVG having a viewbox…
I think the problem, from my perspective, is that µBlock does not classify SVG as ‘images’, so µBlock permits them to pass even if I have specified to block pictures and all resources. This leaves me without any way to get rid of them if I do not want them. Perhaps I could rephrase my question as ‘how can I create a cosmetic filter in µBlock which will hide any SVG (in buttons or otherwise) on a given site?’ Rules which I suppose ought to work, like https://bang-dream.bushimo.jp##svg or https://bang-dream.bushimo.jp##.svg, have no effect.
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
adoxa
Astronaut
Astronaut
Posts: 577
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: noai.duckduckgo.com shows a HUGE duck

Post by adoxa » 2026-02-05, 00:26

Using the filter bang-dream.bushimo.jp##svg does remove the SVG elements on that page, but that's only the icons in the social media (OFFICIAL) buttons.

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Re: noai.duckduckgo.com shows a HUGE duck

Post by Mæstro » 2026-02-05, 01:10

adoxa wrote:
2026-02-05, 00:26
Using the filter bang-dream.bushimo.jp##svg does remove the SVG elements on that page, but that's only the icons in the social media (OFFICIAL) buttons.
Thank you, this settles my SVG problems! A corresponding filter on HowToGeek suppresses the buttons on that site, too. :thumbup:
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
Moonchild
Project founder
Project founder
Posts: 38821
Joined: 2011-08-28, 17:27
Location: Sweden

Re: noai.duckduckgo.com shows a HUGE duck

Post by Moonchild » 2026-02-05, 07:42

Mæstro wrote:
2026-02-04, 22:40
I think the problem, from my perspective, is that µBlock does not classify SVG as ‘images’
Bit of a tangent.
SVG is a graphics format but it operates in a grey area from a web technology perspective, because it's structured XML so is parsed as a document but the layout object will ultimately be an image object and behave like an image (mostly). This is why some people thought it was a good idea to blur the lines even more and allow e.g. CSS commands to influence the definitions inside the SVG (and apparently take data from the SVG's XML to influence layout outside the SVG, which seems to be the problem here), i.e. chasing document-like integration from an image object.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite