I have built the example browser "fancy browser" which is detailed on the Qt tutorial site...

When I try and go to a site that uses a script, for example clicking "confirm friend" on Facebook, the web view opens up the .php script for viewing, instead of executing it within the current page, like the mainstream browsers would do.

How can I change this?