Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript doesn't work #27

Closed
minonger opened this issue Aug 21, 2014 · 5 comments
Closed

JavaScript doesn't work #27

minonger opened this issue Aug 21, 2014 · 5 comments

Comments

@minonger
Copy link

Any javascript in HTML doens't work.

I have javascript setting set to true:
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);

If I use classic webView it works but this chromium not.

@mogoweb
Copy link
Owner

mogoweb commented Aug 22, 2014

@minonger: would you please give me some test pages or url?

@mogoweb
Copy link
Owner

mogoweb commented Aug 22, 2014

I test the javascript's performance using Sunspider Javascript Benchmark, and the score is 1197.0ms +/- 2.8%.
Javascript is supported.

@minonger
Copy link
Author

@mogoweb
Hi, try this in link. In standard webView is work but in this ch.view not. Maybe i do something wrong..
http://ulozto.net/xa1V9su2/desktop-zip

@mogoweb
Copy link
Owner

mogoweb commented Aug 22, 2014

@minonger
I have tried it, the javascript dialog is shown. You can get 365browser from http://android.myapp.com/myapp/detail.htm?apkName=com.mogoweb, which is built on chromium webview. You can also checkout the source at https://github.com/mogoweb/TintBrowser. I hope it is useful.

@mogoweb mogoweb closed this as completed Aug 22, 2014
@minonger
Copy link
Author

@mogoweb
Hi, you was right ;). It's working.
My problem was with some security. I was connecting to server with https and i used JQuery from another http server.
After I download jquery library and put it to my code directory it start working :)

In my html
before: script src="http://code.jquery.com/jquery-1.10.2.min.js"

now: script src="js/jquery-1.10.2.min.js"

Thanks for help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants