-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InAppBrowser insertCss Not Working #921
Comments
I get a similar error using
|
In order to workaround this I have added the following code to my project. It is a ugly hack that creates an alias in the const browser_proto = (this.browser as any)._objectInstance.__proto__;
browser_proto.insertCss = browser_proto.insertCSS; |
Just pushed a commit to fix this, will be available in the next release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I instanciate a an InAppBrowser with
let browser = new InAppBrowser('my_fancy_url', "_self", 'location=no,hidden=yes,useWideViewPort=yes');
Then a call on
browser.insertCss({code: this.cssETransaction});
raises an error :I tried to call
insertCss()
afterbrowser.show()
, I tried to set hidden to no but I never managed to insert CSS.On the other hand on chrome://inspect when I call the InAppBrowser from
cordova.InAppBrowser.open(...)
I can easily insertCss.Any Thoughts on that ?
The text was updated successfully, but these errors were encountered: