Bhagirath123 opened a new issue #683:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/683
i am usign in-app-browser for open my web protal in my ionic app i need
execute jquery data in browser using executeScript
hear is my code
const runFirst =
`$("[data-menu=logout]").attr('data-menu','logout_custom');$("[data-menu=logout_custom]").click(()=>{});`;
let target = "_blank";
const browser = this.iab.create(url,target,this.options);
browser.on('loadstop').subscribe(event => {
browser.executeScript({
code: runFirst
});
});
when i pass that jquery data using executeScript i am getting this error
Uncaught TypeError: Converting circular structure to JSON
----------------------------------------------------------------
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]