omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Some websites not displayed in webview

    Pythonista
    3
    6
    2415
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp last edited by

      Why some web sites (ex: http://webpagetopdf.com/) are not displayed in ui.webview?

      1 Reply Last reply Reply Quote 0
      • cook
        cook last edited by

        This works for me...

        import ui
        w = ui.WebView()
        w.load_url('http://webpagetopdf.com/')
        w.present()
        

        Is there something really different you're trying to do?

        1 Reply Last reply Reply Quote 0
        • cvp
          cvp last edited by

          I forgot to specify my script runs in appex mode...

          1 Reply Last reply Reply Quote 0
          • cook
            cook last edited by cook

            Okay yes, that's roughly the same issue from this post. It seems to be some kind of bug. My guess is that it's with caching somehow, but I'm not sure. I suppose @omz will have that fixed soon enough!

            1 Reply Last reply Reply Quote 0
            • cvp
              cvp last edited by

              Thanks for your help.
              In the appex mode, a webview for a file is ok, and even for some web pages like Google.com...
              Strange

              1 Reply Last reply Reply Quote 0
              • omz
                omz last edited by

                I think this might have to do with the new-ish policy that iOS apps are not allowed to use plain http by default (so Google.com still works because it's https). I turned that off for the main app, but that probably doesn't have an effect on the extension. I'll have to check that later.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors