3 ms·
interesting idea. on the implementation: you might be interested in looking at the source for my code. i use a library called jquery and it allows for most th
by andrewcooke 17y ago
interesting idea. on the implementation: you might be interested in looking at the source for my code. i use a library called jquery and it allows for most things to be doing in "one line".
on the flip side there's a lot of boilerplate and it may make things run slower (i have no comparison - this is the first time i've written one of these).
- jmillikin 17y agoI prefer to avoid jQuery for Greasemonkey, because the per-page performance hit of inserting it into the DOM / waiting to load from Google / running through various abstraction layers is IMO not worth reducing a 20-line script to 10 lines.
- andrewcooke 17y agook, thanks - i was curious about that (i suspect there must be some caching, that ameliorates the cost of loading if you use a site regularly, but i have no idea about the rest).