Xamarin.Forms open browser appending javascript

LeLGLeLG Member ✭✭

I am trying to implement a function in my project using Xamarin.Forms, in which it requires to open browser to targeted URI and append the value in the App's entry to the broswer website's input

I am currently using Xamarin.Forms' Device.OpenUri() method to open browser and i dont know if there is any way to append and execute a jquery script as we open the browser.

I imagine that it would be something like:

Device.OpenUri(new Uri("example.com")).AppendScript(<jquery script>);
maybe?

I have already search around for solutions but i only find the ones recommending "WebView" ways which not seem to suit my needs.

I appreciate all your help. Thank you!

Best Answer

Answers

  • jezhjezh Member, Xamarin Team Xamurai

    What function do you want to achieve by opening browser appending javascript?

  • LeLGLeLG Member ✭✭

    @JohnHardman thank you, i guess i will have to go with the webview way then.

Sign In or Register to comment.