Categories
Software and Programming

Internet Explorer Secrets

Nimster is back-reading my blog and came across this post about the Google-on-Selection menu item in Mozilla. He comments:

“You can do that with explorer too.
regedit \HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt
Add a key the (Default) value, a REG_SZ should be the action: something like
javascript:text=escape(doc.selection.createRange().text);
mywin=window.open('http://www.google.com/search?'+text,
'Google','scrollbars=yes,width=660,height=460,left=75,top=75,
status=yes,resizable=yes'); mywin.focus();

Add a contexts REG_BINARY field with the value ’31’ (00011111) – I don’t know exactly what this sets, but it works.

You need to restart explorer for this to work.”