Sabtu, 16 Maret 2019

Can I inject Javascript code into Chrome Custom Tabs

In my app, I currently use a web view to display some content and then use a Javascript injection to quickly fill out the form for the user. The only issue is, Webviews are incredibly slow compared to Chrome Custom tabs. Is it possible to inject Javascript code into these custom tabs?

For example, here is some code I currently use:


myWebView.loadUrl("javascript:document.getElementById('join_first_name').value='" + name + "';void(0); ");



from Can I inject Javascript code into Chrome Custom Tabs

Can I inject Javascript code into Chrome Custom Tabs Rating: 4.5 Diposkan Oleh: Admin

0 komentar:

Posting Komentar

Popular Posts