Skip to content

What dose the iframe do? #163

@djyde

Description

@djyde

Hi, WebViewJavascriptBridge is cool. But I have an odd trouble.

There is an ajax request (XHR) in my website. When I inject the WebViewJavascriptBridge js code. The request was broken.

https://github.com/marcuswestin/WebViewJavascriptBridge/blob/master/WebViewJavascriptBridge%2FWebViewJavascriptBridge.js.txt#L18

This is the relevant code.

But what confuse me is, what is the iframe for? It seems that the iframe do nothing in the js code (Only set the src.)

Hope reply soon, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions