Saturday, January 31, 2009

Changing the Link of a Ticker Symbol from MSN Money to Google Finances

This is unsupported solution to change the ticker symbol to Google finance:

On C:\Inetpub\wwwroot\_forms\controls (may vary depending on your installation)
Open the following file: INPUT.text.ticker.htc

Change the line: 

safeWindowOpen("http://go.microsoft.com/fwlink?linkid=8506&clcid=" + CrmEncodeDecode.CrmUrlEncode(USER_LANGUAGE_CODE) + "&Symbol=" + CrmEncodeDecode.CrmUrlEncode(value), "", "height=" + (screen.availHeight * .75) + ",width=" + (screen.availWidth * .75) + ",scrollbars=1,resizable=1,status=1,toolbar=1,menubar=1,location=1");

Replace with: 

safeWindowOpen("http://finance.google.com/finance?q=" + CrmEncodeDecode.CrmUrlEncode(value), "", "height=" + (screen.availHeight * .75) + ",width=" + (screen.availWidth * .75) + ",scrollbars=1,resizable=1,status=1,toolbar=1,menubar=1,location=1");

Enjoy.

No comments: