Hi, To execute a javascript string in a displayed .html page our embedding app uses nsIWebNavigation.LoadURI(...) to navigate to "javascript://<theJavascriptString>;void(0);". This works generally well, but has problems with javascript strings that are read from a multi-line source and therefore may contain content like "//" comments which result in the rest of the line being ignored as comment text. Is there a better way of executing a javascript string in a loaded .html page?
Thanks, Grant _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
