user interface - Silence Script Error in Web Browser for Android from Delphi XE7 FireMonkey -


i trying silence error alert windows in delphi xe7 webbrowser.

webbroser win:       webbrowser.silent = false;

webbrowser android? .................................

thanks in advance

on android, you'd need write java code include project, because need assign instance of descendant of webchromeclient overrides onjsalert method, per answer:

https://stackoverflow.com/a/37082558/3164070

then need create import class delphi, create instance of it, , pass in call setwebchromeclient method on webbrowser (jwebbrowser) instance in tandroidwebbrowserservice class in fmx.webbrowser.android unit i.e. need modify unit work.

a more complete answer take few hours, should give idea of you're against


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -