3 ms·
Along the same lines, I realized that sometimes I was giving undue weight to comments depending on the author. This was also solved with Greasemonkey -- if anyb
by jmillikin 17y ago
Along the same lines, I realized that sometimes I was giving undue weight to comments depending on the author. This was also solved with Greasemonkey -- if anybody's interested, the script is at < http://userscripts.org/scripts/review/67722 http://userscripts.org/scripts/review/67722 >.
- andrewcooke 17y agointeresting 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).