B4i Code Snippet WebView "extra" - Erel (first post)    Jan 26, 2021   (5 reactions) Inject JavaScript:
Dim no As NativeObject = WebView1
Log(no.RunMethod(":", Array("your java script here"))
Use WebView.EvaluateJavaScript. B4i Question Using WebViewXtendend on B4i - Erel (first post)    Dec 17, 2023 You can inject and run JavaScript to scroll the page: https://www.b4x.com/android/forum/threads/b4x-webview-ckeditor-rich-text-editor.133260/#content B4i Question Read Local Storage in B4i - Erel (first post)    Jan 03, 2023   (1 reaction) Are you loading the player with WebView? Maybe you can inject JavaScript that will set the storage data. B4i Question WebView Injecting javascript code - Giuliano Cucchiarini (first post)    Jan 14, 2015 I am able to inject any kind of Javascript, even entire libraries and they work work well.
The only problem is the alert message box that does not close.
You may try the 2 instructions I sent you and verify...
Thank You
Giuliano C. B4i Question Method not found: stringByEvaluatingJavaScriptFromString:, target: <WKWebView: 0x10282d400 - MitchBu    Jan 26, 2021 I am trying to implement the method to inject Javascript posted by Erel here: https://www.b4x.-extra.48304/#content More specifically, the post from @moster67: Dim no As NativeObject = WebView1 Log(no.RunMethod(":", Array("document.title"))) And I get this error: Method not found: :, target: <WK B4i Question how to inject JavaScript file into webview and use js functions? - watesoft    Jan 12, 2019 I want to search b4i webview and highlight the results,I search the forum and find a link:
https://www.b4x.-searching-and-highlight.49348/,I copy the javascript code inside link and make HighLight.js file.Because I don't know much about js, and a newbie to B4i, I use the below code but is not ok.
B4i Tutorial Reading and Writing PDF Documents - Erel (first post)    Jun 07, 2015 You can inject JavaScript code that will scroll down the window: https://www.b4x.-extra.48304/#post-302123 B4i Question Disable Iphone webview selection - Erel (first post)    Jan 13, 2021   (1 reaction) You can try to inject the JavaScript proposed here: https://stackoverflow.com/a/49984348/971547 B4i Question WebView Touch Event - Erel (first post)    Jul 08, 2015 There is no simple way to do it. Try to inject JavaScript that will scroll the page: https://www.b4x.-and-writing-pdf-documents.48308/#post-343262 B4i Question Get feedback from Google Charts - Erel (first post)    Nov 19, 2017 It will not be simple. Google charts events are documented here: https://developers.google. You can use WKWebView.EvaluateJavaScript to inject JavaScript. Your JavaScript should redirect the current page when the user clicks on the chart. Handle the OverrideUrl event to catch this. Page: 1   2   3   4   5   6   7   Powered by ColBERT |