i'm working android webview, have disabled server js following code:
webview.getsettings().setjavascriptenabled(false);
but wanna execute javascript (to change background color, text color, etc) there way without re-enable js?
thank much!
in order make javascript work, workaround, re-enable website's javascript, run javascript, , disable again. allow interact dom short period of time, without letting user make use of of website's javascript.
Comments
Post a Comment