tags:

views:

49

answers:

1

I'm writing an editor that is updating a WYSIWYG view in the browser. As this update can happen often i don't want to open the page in a new tab. Is there any way other then using the ugly way of emitting keystrokes to enter the Open URL command and entering the URL (I'm doing this right now, but it's buggy if the user interacts with the system in the meantime).

I tag this as firefox but comments on other browsers are welcome.

A: 

Script given below changes location without opening new tab. I think it would be helpful.

TYPE IN ADDRESS BAR:

javascript:window.location.href = "http://www.yahoo.com";
TheMachineCharmer
But i want to do this from an external program not from within a page
Lothar
Ooops!! Then you can ask for an alternative to this JavaScript in whatever language you are using for the code.
TheMachineCharmer