Twitter Search Results on Google

By Mark Carey Last update Mar 2, 2009 — Installed 46,670 times.

2 Tweaks

in
Subscribe to 2 Tweaks 1 post, 1 voice

DFWDraco76 User

I'm new to greasemonkey and am totally digging all of this!

Thanks for this script - I love it! I've found myself more and more doing two searches lately - Google, then Twitter to get timely info. This script makes that so much easier by doing it all at once!

What I'm really pumped about right now are the two tweaks I just added - and think they're working correctly. :)

1) On like 26 of the script I changed it from:

url:"http://search.twitter.com/search.json?q="+GM_TUR.un+"&lang="+GM_TUR.lang,

to

url:"http://search.twitter.com/search.json?q="+GM_TUR.un+"+-RT&lang="+GM_TUR.lang,

This adds "+-RT" to the URL, which removes any results containing "RT"
(inspired by this post: http://lifehacker.com/5295624/get-better-real+t...)

2) On line 60 I changed it from:
for( var i=0; i < 5; i++ )
to
for( var i=0; i < 8; i++ )

This just gives me 8 results instead of 5. :) I may tweak this more, I just picked 8 as a starting point.

I thought I'd share this in case anybody else might find them useful. :)

Thanks again!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel