Bhagirath123 commented on issue #683:
URL:
https://github.com/apache/cordova-plugin-inappbrowser/issues/683#issuecomment-619817704
et target = "_blank";
const browser = this.iab.create(url,target,this.options);
browser.on('loadstop').subscribe(event => {
console.log(event,"loadstop");
browser.executeScript({code:
`$("[data-menu=logout]").attr('data-menu','logout_custom');$("[data-menu=logout_custom]").click(()=>{
browser.close();
});`}).then((e) =>{
console.log(e,"e");
}).catch((error)=>{
console.log(error,"error");
})
});
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]