Showing posts with label Firefox. Show all posts
Showing posts with label Firefox. Show all posts
Tuesday, 23 October 2012

More on jQuery id selection performance

In response to Ron's comment on the attr('id') vs [0].id post last week asking about the jQuery.fn.prop's vs jQuery.fn.attr's performance, I extended the program to include prop and enabled profiling across all browsers (thanks to time.js). The program also does the tests a little more thoroughly, running 1000000 operations 5 times per each operation and averages the result.

Some of the result surprised me a little, in particular Safari beating Chrome on d.attr('id') but nothing else, and d.prop('id') was the clear winner.


Thursday, 27 September 2012

Removing an annoying entry from autocomplete

How often does this happen to you?


You start typing one of your commonly used web sites only to have your browser autocomplete to something a URL you don't want. It gets frustrating when you have to select the correct item over and over again.

There a little trick you can use in Chrome and Firefox to get around this annoyance:
  • Start typing the URL
  • Select the unwanted autocomplete entry
  • Hit shift + delete to remove the entry from autocomplete
It shouldn't bother you again.