< up >
2021-10-06

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

Downside

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 to the stated security issue1.

Fix

I set the delay to 500 as a compromise.

year…


  1. WOHA! The issue was filed 19 yrs ago! I went to elementary school that