Links in a HTML page do not work inside an iFrame

I am trying to work with a third party API that wants me to use a Server Page. I have used an iframe to embed the page. While this works when I try it from the browser, when I test it in the device (or the simulator ) the links do not work. I used the trustAsHTML, in case sanitize was blocking it.

Here is the code in the controller

var ihealhtAuthPage = '<iframe src="" style="width:100%;height:100%" seamless></iframe>'; $scope.trustedHtml = $sce.trustAsHtml(ihealhtAuthPage);

And the template



I have unsuccessfully tried other options, such as adding a link for the URL instead and then having the user click it to open in the system browser using the ngCordova InAppBrowser plugin. In each of these attempts, the links are unclickable.

Truly appreciate any leads or thoughts.

Hi, i have the same problem. Did you find any solution for this?

BR Micke

Ok, seems to be something in the site it self, cause some sites works…
Any way it seems to be a bad way of doing it? and some/most sites block it totally like youtube with

So is there a better way in ionic to make some sort of “webview”?