Skip to content
Nick Hart

Nick Hart

Web Devlopment, Projects and tutorials

Author Archives: Nick Hart

Unusual behaviour in Firefox when using ‘preventDefault()’ on ‘mousedown’ event

Firefox completely blocks css :active pseudo-class when using PreventDefault() on mousedown event, unlike other browsers. This is undefined behaviour, and can lead to some hard to fix bugs, especially when you had no idea Firefox implemented this.

Posted byNick HartMarch 12, 2019June 19, 2019Posted inWeb developmentTags: bugsjavascriptweb

Posts navigation

Newer posts 1 2

Recent Posts

  • I created a Web Extension
  • Animated SVG Cyberpunk logo (with filters)
  • Making accessible custom Radio Inputs
  • SVG loading spinner
  • An Introduction to SVG animation

Archives

  • April 2024
  • April 2021
  • September 2020
  • March 2020
  • February 2020
  • August 2019
  • June 2019
  • May 2019
  • March 2019

Categories

  • projects
  • Web development

Tags

addon animation bugs javascript loading icon node projects python s3 scraping security snippets svg svg filter tutorial web webdev web extension

About

Hi! I am Nick , and this site is intended to document my projects, as well as discussing topics such as: web development, security, Linux, arduino, electronics, repairs and making.

Nick Hart,