We help IT Professionals succeed at work.

Creation Mozilla/Gecko embedded applications

GodadoLLC
GodadoLLC asked
on
Medium Priority
410 Views
Last Modified: 2008-02-01
We need to console based browser that can operate in text mode like Lynx, Links, Elinks etc. But that will have such capabilities as processing (interpretation) of JavaScript, able to work with DOM and DHTML. So it needs to work in the way like it does Mozilla or IE. Mozilla/Gecko embedded applications seems to be the answer.

We will invoked from PHP code with URL as argument and after it loads, process one, we require the source code.

Our site UrlAudit.com scans Urls and reports back if the url contains things like frames, popups activex controls, etc. The problem is using php it only scans through the html, we need it to scan JS,DHTML, DOM

The application needs to work as follows:
- First, user enter the URL will be scanned
- Our website will call the Mozilla embedded app (via PHP funtions)
- The console application run with given URL and return the result for PHP function call.
- Then report the result for user

The Mozilla embedded app will have to do:
- parameter is given URL
- And check whether the website containt the frame, ActiveX controls, ...

What do we need to do to get this working, any solution suggestions?
Comment
Watch Question

If you wouldn't mind writing your application in java, you could use HttpUnit (http://httpunit.sourceforge.net/), which provides all kinds of methods to examine web-pages.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.