Results 1 to 2 of 2

Thread: QWebFrame empty content with source https javascript in html header

  1. #1
    Join Date
    Dec 2012
    Posts
    2
    Qt products
    Qt Jambi
    Platforms
    Windows

    Question QWebFrame empty content with source https javascript in html header

    Hello,

    I have strange problem on QT Jambi 4.7.1:
    - The qtjambi example HelloWebKit work fine before with url which contain src https javascript in the header.
    Ex: <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
    - Now all my java programs not able to view or capture content via QWebFrame for url which have https javascript source in the header, or in the body
    Ex: <!-- Start Alexa Certify Javascript -->
    <script type="text/javascript" src="https://d31qbv1cthcecs.cloudfront.net/atrk.js"></script>
    I do some test, instead of loading content from the web, I save to content to local file. The problem appeared the same. If I removed the https line, then it ok.
    Please note that recently all my programs work fine with other url does not content https javascript. I don't think this problem related to SSL, and try to find out solution, as these programs worked before.

    Thanks in advance,

    Alex

  2. #2
    Join Date
    Dec 2012
    Posts
    2
    Qt products
    Qt Jambi
    Platforms
    Windows

    Unhappy Re: QWebFrame empty content with source https javascript in html header

    - I have tried HelloWebKit in new clean installation of other machine on the same network, but the problem still the same. I am not sure what is really root cause for my mentioned issue ? I did not have chance to test with different network, if someone could help ?
    - However, I solved my problem partially by replacing the https by http in url. For this I override the createRequest in QNetworkAccessManager.

    Thanks for your attention,
    Alex

Similar Threads

  1. Replies: 3
    Last Post: 27th October 2012, 05:55
  2. Migrating content from header file to source file
    By ehnuh in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2012, 18:00
  3. QWebView Reading content shown by Javascript
    By lhg in forum Qt Programming
    Replies: 0
    Last Post: 14th October 2011, 20:00
  4. QWebView / QWebFrame create and edit content
    By Margit in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2010, 20:06
  5. getting javaScript from html
    By ashvindh in forum Qt Programming
    Replies: 1
    Last Post: 26th September 2010, 13:57

Tags for this Thread

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.