Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
driverdan
· 14y ago · 0 comments
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.
Comments
[–]
anthonyb
14y ago
I 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.
[–]
julienc
14y ago
Or better, get rid of jQuery completely.
[–]
anthonyb
14y ago
What do you have against jquery?