Android-SmartWebView icon indicating copy to clipboard operation
Android-SmartWebView copied to clipboard

JavaScript not running on Smartwebview

Open bishu opened this issue 4 years ago • 3 comments

on the home page of my url I have run a small javascript to check the no.s of digit enter in the username. This is working on chrome, internet explorer.

But after putting the url in the smartwebview the script is not working.

I also enable the ASWP_JSCRIPT to true

bishu avatar May 17 '21 06:05 bishu

is there any log?

mgks avatar Sep 20 '21 08:09 mgks

I have the same problem :(

Artromanin avatar Apr 07 '23 11:04 Artromanin

I solve it! MainActivity.java -> line 430 - > paste webSettings.setJavaScriptEnabled(ASWP_JSCRIPT); instead of if (!ASWP_OFFLINE) { webSettings.setJavaScriptEnabled(ASWP_JSCRIPT); }

Artromanin avatar Apr 07 '23 12:04 Artromanin