This is a quick search settings toggle. Fairly new, I think. When pressed, nothing happens. The settings pop-up does not appear. Couldn't find any errors:
duckduckgo.com - Search settings button does not work
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.
-
back2themoon
- Knows the dark side

- Posts: 3082
- Joined: 2012-08-19, 20:32
duckduckgo.com - Search settings button does not work
https://duckduckgo.com/?q=bitmap+brothe ... oon&ia=web
This is a quick search settings toggle. Fairly new, I think. When pressed, nothing happens. The settings pop-up does not appear. Couldn't find any errors:
This should appear:
This is a quick search settings toggle. Fairly new, I think. When pressed, nothing happens. The settings pop-up does not appear. Couldn't find any errors:
You do not have the required permissions to view the files attached to this post.
Improve Pale Moon performance • Safe Mode / clean profile test info
How to auto-fill passwords • How to apply user agent overrides
Information to include when asking for support
Windows 10 Pro x64 (W11: hard pass)
How to auto-fill passwords • How to apply user agent overrides
Information to include when asking for support
Windows 10 Pro x64 (W11: hard pass)
-
jobbautista9
- Board Warrior

- Posts: 1120
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: duckduckgo.com - Search settings button does not work
Can confirm as well. I thought polyfilling the Intl.ListFormat would work (I used the polyfill by wessberg via unpkg.com and added with Modify HTTP Response, and had to override DDG's CSP to null via the Rewrite HTTP Headers add-on) but even that didn't make the search settings button work again...
I've sent feedback to them via the Share Feedback button. Hopefully they will see it.
I've sent feedback to them via the Share Feedback button. Hopefully they will see it.

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.
-
adoxa
- Astronaut

- Posts: 557
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: duckduckgo.com - Search settings button does not work
It actually catches the ListFormat error, so what you're seeing there is just a log message, not an actual exception. It uses <a> inside of <button>, so the click isn't being processed. Open about:config, set dom.forms.button.standards_compliant to false and restart.
-
jobbautista9
- Board Warrior

- Posts: 1120
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: duckduckgo.com - Search settings button does not work
Ah, that makes sense now. ListFormat was a red herring, I didn't need the polyfill at all. Thanks for analyzing this deeper! 
I wonder if it's possible to have the browser warn in the Toolkit Error Console while it's in standards-compliant mode for <button> when it sees an anchor inside of its subtree. That would make debugging this kind of issue easier in the future, and help evangelize the correct standard behavior for buttons to web developers...
EDIT: Here's a Greasemonkey userscript I've cooked up quick which should do the warning fine I think. Hopefully the MutationObserver not being disconnected won't be a problem though (the GC should be able to clear them right?)...
I wonder if it's possible to have the browser warn in the Toolkit Error Console while it's in standards-compliant mode for <button> when it sees an anchor inside of its subtree. That would make debugging this kind of issue easier in the future, and help evangelize the correct standard behavior for buttons to web developers...
EDIT: Here's a Greasemonkey userscript I've cooked up quick which should do the warning fine I think. Hopefully the MutationObserver not being disconnected won't be a problem though (the GC should be able to clear them right?)...
Code: Select all
// ==UserScript==
// @name Detect non-standard buttons
// @namespace job.tilde.team
// @include *
// @version 1.0
// @grant none
// ==/UserScript==
const config = { attributes: true, childList: true, subtree: true };
var oldLength = 0;
const callback = (mutationList, observer) => {
var badAnchors = document.querySelectorAll("button * a")
if (badAnchors.length > oldLength) {
console.warn("An anchor inside a button is detected. Standard " +
"behavior mandates that any elements inside a <button> " +
"will be display-only content, and as such any click " +
"event will only be sent to the button, not the anchor. " +
"This may lead to the button not working as expected. " +
"Detected anchors:\n%o", badAnchors);
oldLength = badAnchors.length;
}
}
const observer = new MutationObserver(callback);
observer.observe(document.body, config);
You do not have the required permissions to view the files attached to this post.

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.
-
Moonchild
- Project founder

- Posts: 38690
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: duckduckgo.com - Search settings button does not work
I'll shoot my contacts at DDG a report about this. Hopefully they will fix this quirk-reliant behaviour, because the spec is explicit about this being wrong behaviour.
WhatWG standard wrote:Content model:
Phrasing content, but there must be no interactive content descendant and no descendant with the tabindex attribute specified.
"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
-
billmcct
- Board Warrior

- Posts: 1091
- Joined: 2012-09-04, 15:19
- Location: Union City Georgia USA
Re: duckduckgo.com - Search settings button does not work
Personally, I use the hamburger menu in upper right corner. (three lines)
--------------------------------------------------------------------------------------------------------------
Dell Precision 15 7550
Windows 10 Pro. 22H2 19045.5965
Xeon W-10885M
64 GB DDR4 ECC memory (128 GB max)
1 TB Samsung 9100 Pro M2 SSD (Main)
2 TB Samsung 9100 Pro M2 SSD (storage)
500 GB Corsair T500 storage M2 SSD (6 TB max)
Intel onboard GPU 1080p
Quadro RTX 5000 Max-Q GPU 4K
Pale Moon 33.9.x x64 AVX2 build
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda
Dell Precision 15 7550
Windows 10 Pro. 22H2 19045.5965
Xeon W-10885M
64 GB DDR4 ECC memory (128 GB max)
1 TB Samsung 9100 Pro M2 SSD (Main)
2 TB Samsung 9100 Pro M2 SSD (storage)
500 GB Corsair T500 storage M2 SSD (6 TB max)
Intel onboard GPU 1080p
Quadro RTX 5000 Max-Q GPU 4K
Pale Moon 33.9.x x64 AVX2 build
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda
-
Moonchild
- Project founder

- Posts: 38690
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: duckduckgo.com - Search settings button does not work
It should be possible but will require digging where exactly to check, and how extensive the check should be, because "interactible" is more than just anchors, and having an anchor inside a button doesn't necessarily imply that the site tries to use it for navigation, etc.jobbautista9 wrote: ↑2025-11-26, 06:13I wonder if it's possible to have the browser warn in the Toolkit Error Console while it's in standards-compliant mode for <button> when it sees an anchor inside of its subtree. That would make debugging this kind of issue easier in the future, and help evangelize the correct standard behavior for buttons to web developers...
"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
-
Goodydino
- Keeps coming back

- Posts: 933
- Joined: 2017-10-10, 21:20
-
back2themoon
- Knows the dark side

- Posts: 3082
- Joined: 2012-08-19, 20:32
Re: duckduckgo.com - Search settings button does not work
It's irrelevant, because no one here is talking about the hamburger menu. Not what the topic is about.
Improve Pale Moon performance • Safe Mode / clean profile test info
How to auto-fill passwords • How to apply user agent overrides
Information to include when asking for support
Windows 10 Pro x64 (W11: hard pass)
How to auto-fill passwords • How to apply user agent overrides
Information to include when asking for support
Windows 10 Pro x64 (W11: hard pass)