A trip to the Google Toolbar land and back

Author: seven August 25, 2008

Couple of days ago I posted an article about the SplinQ Firefox extension we made. Firefox rocks, and building extensions is a breeze, but that only covers Firefox users. Since we need to target wider site audience, therefore next logical step would be to develop Internet Explorer Add-on.

I remember Google Toolbar back in the days Firefox wasn’t so hot. It added nice web search ability to Internet Explorer and many IE bundles had him preinstalled. Google Toolbar is installed by default for Windows/IE users whenever Flash is installed or updated from Adobe’s website, and the penetration of Adobe Flash appears to be around 99% so I suspect Google Toolbar penetration is quite good. With all this in mind we decided to try extending Google Toolbar.

I have done exhaustive research regarding Google Toolbar and after couple of hours of prototyping I came to conclusion that we CANNOT reproduce desired behavior from our Firefox extension. Only way we could “port” Firefox plugin is by writing ActiveX Internet Explorer Addon control.

I have used Google toolbar v5 beta since earlier versions of the toolbar are completely useless. The idea was to setup the feed to reload every X seconds and to say to SplinQ server an URL of the website where user is right now, and based on that, toolbar button/gadget would know should it show alerts and notifications by icon change or not.

I tried to simulate events by using Google toolbar RSS feed feature which enables toolbar gadget to load a remote RSS feed in certain interval times. Interval can’t be less than 20 seconds (another Google limitation). This feed can:

  • change the dropdown menu icons (when clicked)
  • replace icon in toolbar
  • add alert texts beneath the toolbar icon

The main reason for a failure is security feature from Google toolbar that prevents developers to automatically send in any way URL of current site user is browsing. That is off course serious security hazard, and I completely understand why Google doesn’t allow this. Malicious user could be able to track all sites you are visiting and record that into his log files. Big fail!

However, Google toolbar can send current URL, but only if user:

  • used search option within the toolbar
  • pressed toolbar button

Both ways don’t enable us to have seamless way of user notification. What we need here are events, which will trigger upon user visit of new site in browser. Google toolbar doesn’t support this.

You can send some data from user by using two mentioned methods by using special tags (more on this on Google toolbar variables reference and scopes):

{query} - <search> element
{url} - <search>, <site>, or <send> element
{url.host} - <search>, <site>, or <send> element
{url.noescape} - <search>, <site>, or <send> element
{domain} - <search>, <site>, <send>, or <feed> element
{locale} - <search>, <site>, or <send> element
{selection} - <send> element
{option1} - Must go in a URL in <search>, <site>, <send>, or <feed> element
{random} – all?

So, what now. This only leaves us with one option, and that is to start writing ActiveX Internet Explorer Addon control. :)

Screenshot 1 – Alternate search provider:

Screenshot 2 – RSS feed icon changes and alerts:

Screenshot 3 – clicked button / plugin config screen:

CEO/CTO at Nivas®
Neven Jacmenović has been passionately involved with computers since late 80s, the age of Atari and Commodore Amiga. As one of internet industry pioneers in Croatia, since 90s, he has been involved in making of many award winning, innovative and successful online projects. He is an experienced full stack web developer, analyst and system engineer. In his spare time, Neven is transforming retro-futuristic passion into various golang, Adobe Flash and JavaScript/WebGL projects.

    Leave a Reply

    Your email address will not be published. Required fields are marked *