Google Chrome was a big hit in the office today. To the extent that many of my colleagues were setting it as their default browser already, even though it's a beta product. Cwazy.
Unfortunately even if you do click the "Make Google Chrome my default browser" button on the Options page, not all applications that launch hyperlinks comply. One of those is the Twitter client Twhirl, which is an Adobe AIR application (I'm assuming this is an issue with AIR itself rather than Twhirl doing something silly). I deduced what AIR was doing when trying to locate the default browser by using Sysinternals' Process Monitor (ProcMon). It was using the current user's ".htm" file association preference: which on my machine was pointing to FirefoxHTML. So I created a new registry key for GoogleChromeHTML that specified the location of chrome.exe as the file opener and pointed the ".htm" setting there, which did the trick.
To make this easier to replicate, and to save having to write tedious explanatory steps detailing exactly what to do - I've created a short JScript Windows Script file.
Save the following with a "*.js" file extension (e.g. ChromeDefaultForAIR.js) and run it:
var wshell = new ActiveXObject('WScript.Shell'); var chromePath = wshell.ExpandEnvironmentStrings('%USERPROFILE%\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe'); wshell.RegWrite('HKCU\\Software\\Classes\\.htm\\', 'GoogleChromeHTML'); wshell.RegWrite('HKCU\\Software\\Classes\\GoogleChromeHTML\\shell\\open\\command\\', '"' + chromePath + '" "%1"');
Normal caveats for editing your registry and downloading and running random scripts from some idiot's blog apply. To revert, set
HKCU\Software\Classes.htm back to FirefoxHTML.
If it helps leave a note in the comments!