[Project_owners] Cancelling Web page selection

Neil neil at parkwaycc.co.uk
Mon Dec 5 10:16:59 EST 2005

Alex Eng wrote:

> From JavaScript code in my Firefox extension, I want to cancel the 
> selection of Web page text after invoking goDoCommand("cmd_selectAll") 
> but keep the cursor where it was before the selection happened.  Is 
> there a way to do this, like a string argument to goDoCommand() that 
> can be used to accomplish this?

There's probably a way to achieve what you want, whatever that might 
really be, without involving the selection.

More information about the Project_owners mailing list