noai.duckduckgo.com shows a HUGE duck
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:
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:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
Lucio Chiappetti
- Keeps coming back

- Posts: 895
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
noai.duckduckgo.com shows a HUGE duck
Since a few days noai.duckduckgo.com shiws a huge duck logo on top, occupying 90% of the screen height.
I thought it was some temporary celebration or so, but I see it persists.
Is there a way toi reduce suche logo to a more human size ?
I thought it was some temporary celebration or so, but I see it persists.
Is there a way toi reduce suche logo to a more human size ?
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)
-
vannilla
- Moon Magic practitioner

- Posts: 2519
- Joined: 2018-05-05, 13:29
Re: noai.duckduckgo.com shows a HUGE duck
The issue is an "unconstrained" SVG image.
In short, DDG needs to set the width and height attributes in the SVG element, but it does not.
Chrome probably has a quirk where it takes the viewBox attribute as a shorthand for width and height, which is technically incorrect, while Pale Moon (and UXP in general) rightfully tries to fill the entire available space with the contents of the SVG.
You can hack the site's style with e.g. Stylem to fix it by using the following snippet:
128 is the value specified in the viewBox so I suppose it's a good assumption to make about the intended result, but feel free to experiment as the actual value is irrelevant as long as it's an absolute value.
It is obviously the responsibility of DDG to explicitly set an appropriate width and height attribute, the above merely is a quick and dirty hack. Maybe you might want to get in touch with them?
In short, DDG needs to set the width and height attributes in the SVG element, but it does not.
Chrome probably has a quirk where it takes the viewBox attribute as a shorthand for width and height, which is technically incorrect, while Pale Moon (and UXP in general) rightfully tries to fill the entire available space with the contents of the SVG.
You can hack the site's style with e.g. Stylem to fix it by using the following snippet:
Code: Select all
[class*=logoIconWrap] {
width: 128px;
height: auto;
}It is obviously the responsibility of DDG to explicitly set an appropriate width and height attribute, the above merely is a quick and dirty hack. Maybe you might want to get in touch with them?
-
Moonchild
- Project founder

- Posts: 38825
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: noai.duckduckgo.com shows a HUGE duck
Seem like it's an unconstrained SVG inside a flex wrapper. I've shot my DDG contact an e-mail because that seems to be a web design bug. Chrome will likely behave differently 
EDIT: mid-aired with vannilla. I linked DDG the analysis above in a follow-up.
EDIT: mid-aired with vannilla. I linked DDG the analysis above in a follow-up.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
Tharthan
- Board Warrior

- Posts: 1445
- Joined: 2019-05-20, 20:07
- Location: New England
Re: noai.duckduckgo.com shows a HUGE duck
I've never used Stylem before. Would something like this work with Greasemonkey?vannilla wrote: ↑2026-01-20, 15:34You can hack the site's style with e.g. Stylem to fix it by using the following snippet:Code: Select all
[class*=logoIconWrap] { width: 128px; height: auto; }
If so, how would I set it to apply to noai.duckduckgo.com ?
-
jobbautista9
- Board Warrior

- Posts: 1137
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: noai.duckduckgo.com shows a HUGE duck
Greasemonkey can't directly apply CSS; it only does JavaScript. You can change the width attribute of the logo SVG though with this one-liner when you create a new userscript:
Code: Select all
document.querySelector("svg[class*=logoIcon]").setAttribute("width", 128);
Tired of creating stuff!
Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
-
Lucio Chiappetti
- Keeps coming back

- Posts: 895
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: noai.duckduckgo.com shows a HUGE duck
I just placed the code in chrome/userContent.css in my profile
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)
-
Mæstro
- Keeps coming back

- Posts: 911
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: noai.duckduckgo.com shows a HUGE duck
Is it related to the general one which I reported about a fortnight ago? I have got Signor Chiappetti’s problem also, and supposed so.
‘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
‘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
-
fatboy
- Astronaut

- Posts: 581
- Joined: 2017-12-19, 08:03
- Location: Canada
Re: noai.duckduckgo.com shows a HUGE duck
Huge is an understatement, that thing is bigger than the eiffel tower haha
Systemd Free - MX Linux, Antix Linux & Artix Linux
-
frostknight
- Keeps coming back

- Posts: 863
- Joined: 2022-08-10, 02:25
Re: noai.duckduckgo.com shows a HUGE duck
When I try to load that url, it shows me nothing at all.Lucio Chiappetti wrote: ↑2026-01-20, 15:10Since a few days noai.duckduckgo.com shiws a huge duck logo on top, occupying 90% of the screen height.
I thought it was some temporary celebration or so, but I see it persists.
Is there a way toi reduce suche logo to a more human size ?
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
-
Mæstro
- Keeps coming back

- Posts: 911
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: noai.duckduckgo.com shows a HUGE duck
On the No ÀI subdomain, I have µBlock configured to permit first-party scripts, including inline, I had the same problem as in the original post. Likewise, Shinki’s user script (or rather, second-party script) works for me. I would be curious to how to adapt this script to deal with my other oversized SVG icons.
‘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
‘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
-
Tharthan
- Board Warrior

- Posts: 1445
- Joined: 2019-05-20, 20:07
- Location: New England
Re: noai.duckduckgo.com shows a HUGE duck
I'm still confused. The code that is being presented to me looks generic enough that it could apply to any SVG image, not just the one on noai.duckduckgo.com. I say that because I see no mention of noai.duckduckgo.com in the code.
So my question is:
1. Is Stylem the only thing that can fix this issue? If not, what do I need to put into Greasemonkey in order to fix the issue?
2. What code do I need in order to have whatever the fix is apply specifically to noai.duckduckgo.com?
So my question is:
1. Is Stylem the only thing that can fix this issue? If not, what do I need to put into Greasemonkey in order to fix the issue?
2. What code do I need in order to have whatever the fix is apply specifically to noai.duckduckgo.com?
-
frostknight
- Keeps coming back

- Posts: 863
- Joined: 2022-08-10, 02:25
Re: noai.duckduckgo.com shows a HUGE duck
Hmmm I must be the only one who visits that page and I see absolutely nothing when I type in that link. lol.
Maybe its because I am not typing in a search though...
That happens to em when I use duckduckgo at all.
Maybe its because I am not typing in a search though...
That happens to em when I use duckduckgo at all.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
-
vannilla
- Moon Magic practitioner

- Posts: 2519
- Joined: 2018-05-05, 13:29
Re: noai.duckduckgo.com shows a HUGE duck
It targets a specific component of the page, you can't move it around without modifying it.Tharthan wrote: ↑2026-02-01, 07:41I'm still confused. The code that is being presented to me looks generic enough that it could apply to any SVG image, not just the one on noai.duckduckgo.com. I say that because I see no mention of noai.duckduckgo.com in the code.
So my question is:
1. Is Stylem the only thing that can fix this issue? If not, what do I need to put into Greasemonkey in order to fix the issue?
2. What code do I need in order to have whatever the fix is apply specifically to noai.duckduckgo.com?
Stylem is the most convenient, you can use userContent.css too. I advise against Greasemonkey because it's worse even though it works.
If you don't want to install Stylem look up a tutorial on using userContent, I think there is at least one on this forum too. Otherwise, if you have stylem navigate to the website and click the Stylem toolbar button, there's a menu entry to create a style for the whole site. When you click it the extension will generate a CSS for you where you can paste the snippet of code above, inside the block delimited by braces.
-
Behemot
- Newbie

- Posts: 6
- Joined: 2026-01-25, 23:56
Re: noai.duckduckgo.com shows a HUGE duck
Isn't it actually better to write to them duck ppl so they fix it on their side (which is the correct one for the fix)? I'd expect duck ppl in particular to actually listen to feedback 
-
Moonchild
- Project founder

- Posts: 38825
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: noai.duckduckgo.com shows a HUGE duck
I've been trying to get a response from my contacts at DDG but nothing so far.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
Mæstro
- Keeps coming back

- Posts: 911
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: noai.duckduckgo.com shows a HUGE duck
Some users here have indeed written the webmaster about this problem, but as I have noted a few times by now, oversized vector icons can appear often on websites with less understanding administrators. Client-side remedies have still got their place.
‘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
‘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
-
adoxa
- Astronaut

- Posts: 580
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: noai.duckduckgo.com shows a HUGE duck
Here's another approach to fix it, by using a Modify HTTP Response filter to remove clamp.
Code: Select all
[["noai.duckduckgo.com",["/\\.css$/",["/clamp\\(.*?,(.*?),.*?\\)/g","$1"]]]]
-
Moonchild
- Project founder

- Posts: 38825
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: noai.duckduckgo.com shows a HUGE duck
It was picked up with some delay and apologies, but they jumped right on it once it was on the right desk and should now be fixed on DDG's end.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
Mæstro
- Keeps coming back

- Posts: 911
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: noai.duckduckgo.com shows a HUGE duck
Can confirm! I removed the user script, and the logo now renders properly for me.
Now, I wonder about the more general problem of how to deal with my other oversized SVG icons, on other sites where CSS and JS are disabled…
‘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
‘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

- Posts: 895
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: noai.duckduckgo.com shows a HUGE duck
removed (commented out) in userContent and site works
View Source shows most (all?) SVG have a viewbox
View Source shows most (all?) SVG have a viewbox
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)