Loading link into browser

elektrobank

Member
Joined
Aug 11, 2008
Messages
19
Programming Experience
10+
I know how to start the default browser with a URL, but how do I load a link into a browser that is already running? I want to use this to run a bookmarklet on the browser that is currently running in the foreground, so basically it needs to load a location, but the location is going to be a line of javascript, i.e. javascript:(function(){ alert("Did it"); })

This needs to work on whatever browser is running, IE, Firefox, Safari, ect.
Any suggestions?
 
Back
Top