Results 1 to 2 of 2

Thread: Change HTML source in QWebView during load

  1. #1
    Join Date
    Mar 2010
    Posts
    21
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Change HTML source in QWebView during load

    Hi,

    I'm displaying a webpage that makes heavy use of Javascript in a QWebView. In particular, the site reloads parts of the page periodically using Prototype's Ajax.Updater. Now I would like to be informed, whenever such a reload has finished, i.e. when the new HTML code is included in the page.
    My current approach is to poll the corresponding QWebElement continuously for changes, which, of course, is quite a dirty hack. Now I'm think of a way to intercept the javascript for loading the new content directly, but don't know how. Can I somehow analyse and change the HTML/Javascript that is loaded before it is displayed? Or do you have another idea how I could do this?

    Cheers,
    fallen

  2. #2
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Change HTML source in QWebView during load

    sorry i don't want make new thread my question is in what make google the homepages animations ? and why QWebView can't play it? The plugins are enabled

Similar Threads

  1. Replies: 5
    Last Post: 30th March 2012, 17:04
  2. About load source with phonon!
    By dleviathan in forum Newbie
    Replies: 5
    Last Post: 20th January 2012, 02:23
  3. QWebView - How to get DOM HTML
    By lhg in forum Qt Programming
    Replies: 3
    Last Post: 23rd October 2011, 19:16
  4. Best way to load and parse an HTML file ??
    By tuthmosis in forum Qt Programming
    Replies: 8
    Last Post: 23rd August 2008, 11:06
  5. Load HTML to QTextEdit
    By Gamalof in forum Qt Programming
    Replies: 2
    Last Post: 5th July 2008, 18:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.