On Wed, Aug 12, 2015 at 09:36:51PM -0700, Kevin Carhart wrote: > > > Hi all > > This sounds great- thanks for the suggestion. I hope the software works > for our purposes. > > >forward the mail I have. Or we can collaborate on this together, if > > Yes, whatever works, thanks Chris! Please let me know your findings so far. I'm also happy to help if there's something I can do. I know I said I'd look into a new js engine, but I really think we need to get the html and DOM stuff sorted before that. In terms of an architecture I'm thinking of aiming to have the DOM as an abstraction which can be used by both the rendering code and the js. Thus: html is parsed into a node tree which is converted to our DOM objects These objects are exposed to js via wrapper objects in the js world such that any changes js makes are automatically passed through to the DOM The renderer renders the DOM automatically on page load, with support for re-rendering on a user command (with some sort of notifications for js induced changes) Form fields are altered in the DOM, which may or may not trigger a re-rendering Any re-rendering would be partial, i.e. only the changed segments of the DOM are re-rendered This is going to be a *lot* of work and I don't expect it to all be done at once, but that's certainly where I think we should be headed. Any thoughts? As for Edbrowse being used in cyber security, this isn't a good idea since most systems which analyse web pages for threats use highly advanced techniques to scan for malware which don't involve executing the javascript directly, and any such execution would probably require analysis on the js engine level to detect suspicious behaviours. None of these tasks would be possible with Edbrowse, and altering it to make such things possible would mean we weren't writing a web browser any more. That's before we get into the security of the browser itself, which probably could do with some careful analysis at some stage anyway, particularly as we plan on making this a larger project. However, I can see a definite place for Edbrowse for page automation etc once we are more standards compliant. Cheers, Adam.