< up >
2021-10-06 13:41:53 +0200 CEST

firefox: disable download dialog delay

When downloading files with firefox, the ok button of the file-dialog stays disabled for a few seconds. This bugged me a dozen of times. I looked around the config and found a ‘solution’:

  1. goto about:config
  2. set security.dialog_enable_delay to 0


On researching about the config value, it’s existing must have a purpose (right?), I stumbled accross this post about Race conditions in security dialogs which stated:

[...] the attack involves convincing the user to double-click a certain spot on
the screen [...] where the 'Yes' button will appear. The first click triggers
the dialog; the second click lands on the 'Yes' button.

Firefox’s delay is their fix[1] to the statedsecurity issue.


I set the delay to 500 as a compromise.

[1]: WOHA! The issue was filed 19 yrs ago! I went to elementary school that year…