2 ms·
> Firefox has added a small delay to prevent this exploit. This can be a mild irritation in FF. In other contexts it could be very irritating. The problem with
by dspillett 4y ago
> Firefox has added a small delay to prevent this exploit.
This can be a mild irritation in FF. In other contexts it could be very irritating. The problem with blocking user action for the user's safety is that most users don't appreciate it until they do something wrong (by which point I've found the option to turn the protection off!)
- Jerrrry 4y agoA trivial band-aid, such as only delaying the input if the user has repeatedly pressed the [Enter] button in the last 3 seconds, could thwart naive attempts. A clever bypass would be to have the [Enter] button be pressed when reacting to something on screen, such as an incoming guitar strum or a dinosaur hopping over a cactus, then throw the OpenFileDialog before the goal/expected [Enter] keypress.