Aston Lau

Thoughts of a renter in Victoria foolishly trying to time the real estate market
  • Home
  • About

Posts Tagged ‘Alexa’

18 Jun 2009

JavaScript bookmarks to access Alexa, Compete, and Quantcast

First, the bookmarks. These little pieces of JavaScript will automatically take you to the Alexa, Compete, and Quantcast stats of whatever page you’re currently viewing. Just create new bookmarks in your Bookmarks Bar or wherever, and change the location to the JavaScript.

Alexa:
javascript:(function(){location.href='http://alexa.com/siteinfo/' +window.location.hostname})();

Compete:
javascript:(function(){var%20loc;loc=window.location.hostname; loc=loc.replace(/www./,'');location.href= 'http://siteanalytics.compete.com/'+loc})();

Quantcast:
javascript:(function(){location.href='http://quantcast.com/' +window.location.hostname})();

A bit of background: I switched from Windows to Mac a couple of years ago, and have been using Firefox ever since. Lately, though, Firefox has been thrashing my hard drive, making the whole thing painfully slow.

I’ve switched to Safari, and man is it fast. I installed Glims, which does most of the stuff I missed with Firefox, like undoing the last closed tab, and re-opening tabs from the last session when Safari first starts.

I did miss having an Alexa toolbar — I know Alexa isn’t all that accurate, but at least it gave me some idea — so I wrote these JavaScript bookmarks. Not quite as convenient, but it’s the next best thing.

Now I just need replacements for the Google Bookmarks and Web Developer extensions and I’ll be set.

18 June, 2009 at 8:32 by Aston

Tags: Alexa, Compete, Mac, Quantcast, Safari
Posted in Mac | No Comments »

    SUBSCRIBE

  • Categories

    • Credit (2)
    • Mac (1)
    • Politics (1)
    • Real Estate (22)
  • Archives

  • Calendar

  • March 2010
    S M T W T F S
    « Feb    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
Powered by WordPress
Theme Design by Generic Designer
Photo by nikkorsnapper
Entries (RSS) and Comments (RSS)