Olark is a lightweight method to chat with visitors to your website using your existing instant messaging client. Visitors to your website appear as buddies on your Buddy list, their messages to you appear as IMs.
Ok, We should have had support for automatic link highlighting in our first release, but we didn’t. Now we do. The code that drives this additional functionality isn’t super-duper amazing, but it gets the job done.
To summarize, if you type a url into hab.la, like “http://www.aol.com” it will now appear as a link, i.e. http://www.aol.com. This isn’t very tricky. The cool part is that if the URL is external to your site, i.e. not on the same domain that the hab.la window is currently running, we will load the link inside of an Iframe with the hab.la window. Thus, if you send someone a link that refers them to a remote site you can still continue talking to them using hab.la’s inline floating chatbox.
You can turn this feature on and off using the config object.
Code
//Turn parsing links on (0 for off)
config.vars["parse_links"] = 1;

Comments [0]