2 ms·
I noticed you're loading jQuery before testing the page's URL. You'd be better off testing the URL first to prevent unnecessarily loading jQuery.
by driverdan 15y ago
I noticed you're loading jQuery before testing the page's URL. You'd be better off testing the URL first to prevent unnecessarily loading jQuery.
- julienc 15y agoOr better, get rid of jQuery completely.
- anthonyb 15y agoWhat do you have against jquery?
- anthonyb 15y agoI doubt it makes much difference once jQuery's loaded the first time, but I'll have a play around with it when I have a minute. There's some lag currently while it searches the page and replaces attributes, but it's fast enough for my needs.