Thomas Nybergh

  • Home
  • About
  • Notes
  • På svenska
  • Suomeksi
  • Notes and essays updates feed
«On not noticing new Feedburner features, acceptable feed outsourcing and the inner nature of the Tubes
One day of Firefox 3 Beta 2 (and CSLite) »

“Google this site” as a Firefox quick search

Monday, December 24th 2007, 1:57 UTC Published in in English, internet, software

Today when I switched to Firefox 3 Beta 2, I realized it was time to get rid of Google’s toolbar. I haven’t used this rather heavy, bloated extension for anything else than swiftly performing searches of the current website (queries such as site:420.thrashbarg.net wtf), and I guessed that a much smarter way of doing this would be to use a Firefox quick search/smart keyword instead.

As most obscure Firefox-related ideas, this has already been discussed on Lifehacker, and it turns out that a Ben Shepherd has a useful code snippet (quote):

“I use this link as a bookmarklet (with the ‘here’ keyword, i.e. “here cookies”) that does exactly the thing you are describing. It’s really useful!

javascript:void(location.href='http://www.google.co.uk/search?&q=site:'+location.href.split(%22/%22)[2]+'+%s&sourceid=firefox') “

Leave a Response

Where am I?

You've landed on Thomas Nybergh's personal site. This section is an occasionally expanded essay collection.

For more timely updates on things I find interesting, follow my link blog, Facebook or Twitter silliness.

My contact details are listed here as well.


RSS Things I’ve posted recently

  • RT @TuomasEnbuske: Ajoin Westendin ohi. Vielä ei näkynyt porvaripresidentistä riemuitsevia kansanjoukkoja. Vähän kuin Obama-bileet Harlemissa 2008. #vaalit2012
  • 12 years of Sarkozy #vaalit2012 #siksipekka
  • Elanto-huset på Köpingsvägen
  • RT @PhilSchwarzmann: I'm a beard-whisperer. My beard tells me when he needs to be trimmed.
  • Äänestin Väyrystä koska Suomi tarvitsee enemmän näkyviä julkinarsisteja korkeissa viroissa #siksipekka
  • Bought a $650/year support tool from @Citrix today. Sales helpful & responsive. License activation takes 'til Tuesday. Feels enterprisey man
  • RT @piraattinuoret: Suljimme sivustomme osana #SOPA/#PIPA-vastarintaa: http://t.co/JsWAUiFH #SOPAstrike #copyright #tekijänoikeus #sensuuri #piraatit
  • RT @TuomasEnbuske: Onneksi olkon Helsinki! Olemme valinnet Teidän SUPER suositun Guggenheim museon paikka! Siirto 140 milj. tililleme ja voitte lunasta voitto!
  • Åt vanligt folk orsakar dåliga verktyg bara lite ont eller oavsiktliga amputationer. Åt programmerare orsakar dåliga verktyg SJÄLACANCER.
  • RT @suhteellista: pahinta siinä, että internet on rikki on se, että ei pääse valittamaan siitä, että internet on rikki
  • RT @FinlandInc: Totaalikieltäytyjä @Ruuhijarvi blogaa lusimisestaan http://t.co/q44Ob2KD
  • RT @Jason: Awesome correction from Amy in nyt http://t.co/XvmLrCKE
  • Oh gee it must be nutcase o'clock https://t.co/X8vEpUeE
  • RT @markoforss: Tositarina muutaman vuoden takaa: olin turvaamassa erään jengin oikeudenkäytiä. Eräs kovanaamoista kirjoitti nimikylttiinsä WAITE POWER
  • Never forget tylsät 2006-2011. Nyt Isäm_maa on vihdoin saanut oman Twitter-koomikonsa. Jumalan siunaus @TuomasEnbuske http://t.co/OfnIIhz1


©2012 Thomas Nybergh
This site runs on WordPress using a slightly modified Gridline Lite theme.