android - Custom Javascript for existing Websites -
android - Custom Javascript for existing Websites -
i create android application views existing web url, however, button controls on android app able run custom javascript code on website's context.
any ideas on how create happen? perhaps extend or create custon webview?? ideas?
thanks
in browsers in general can execute arbitrary javascript via url bar injection (also called bookmarklet if saved in bookmarks).
// first load normal page, webview.loadurl("javascript: var x = 1; ");
you can test pasting in desktop browser url bar window.alert("hello")
.
javascript android android-webview
Comments
Post a Comment