gurolayanlar commented on issue #305: 'loadstop' event stopped working in iOS
12.0
URL:
https://github.com/apache/cordova-plugin-inappbrowser/issues/305#issuecomment-441236306
Hi,
I found a solution by myself. Remove "loadStop" event from my codes for
solution.
Added this code:
`$scope.ref = cordova.InAppBrowser.open(my_url, '_blank',
'clearcache=yes,location=yes,toolbar=no');
var loop = setInterval(function() {
$scope.ref.executeScript({
code: "document.getElementById('my_special_markdown').innerText"
}, function(values) {
var myValue = values[0];
if (myValue) {
clearInterval(loop);
$scope.ref.close();
$scope.myFunction(myValue);
}
});
}, 300);`
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
With regards,
Apache Git Services
-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org