call parent javascript function from iframe

后端 未结 1 1033
萌比男神i
萌比男神i 2020-12-20 04:21

In node-webkit, call from iframe javascript to parent javascript doesnt work for me.

I am trying to launch a link in the iframe on the default browser as a resu

1条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-20 05:16

    What you want to do, is to intercept links in the internal frame.

    Here we have an iframe where all links will open in the default browser, not in the Node WebKit context. I hope this helps.

    Try this:

    
    
     
    
      
     
     
       
       
    Links in the normal browser should still work in the Node Webkit environment.

    0 讨论(0)
提交回复
热议问题