Rendering a page through webkit gives me a blue square with question mark; what precisely goes wrong?



  • I have a big chunky project that, as one of its many features, has some QML that renders a webpage. The webpage it renders is a standard webpage on the internet; nothing special.

    When it renders it, a mysterious blue square with a question mark is seen. Rendering it with a standard browser shows nothing in that spot, so I look at the source and find something like this:

    @<!-- CANDDi http://canddi.com/privacy -->
    [removed]
    (function(){var a=document.createElement("script"),b=document.getElementsByTagName("script")[0];a.type="text/javascript";a.async=true;a.src=("https:"===document.location.protocol?"https://cdns":"http://cdn")+".canddi.com/p/5ed375bdc5625b876ce38f9e8c297567.js";b[removed].insertBefore(a,b);}());
    [removed]
    <noscript ><img src='https://i.canddi.com/i.gif?A=5ed335bdc5675b876ce35f9e8c297967'/></noscript>
    <!-- /END CANDDi -->@

    Aha, I think. Looks like some kind of marketing company javascript. Presumably my QML browser is unable to deal with this and simply sticks a blue square with a question mark in place to let me know it's been unable to handle this; although looking at it, whilst I don't speak javascript, it looks like refusing to render the javascript should actually be met with sticking that gif, i.gif, there instead? I'd really like to know a bit more, though; can someone tell me what the problem is with a little more detail. I understand that the QML browser is a webkit browser? Is this some issue with webkit, or are there settings that I simply haven't enabled, or some other such?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.