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

Blank page on Google Chrome #2

Closed
rdymac opened this issue May 12, 2014 · 2 comments
Closed

Blank page on Google Chrome #2

rdymac opened this issue May 12, 2014 · 2 comments
Labels

Comments

@rdymac
Copy link

rdymac commented May 12, 2014

If you open the downloaded index.html in the package from GitHub in Chrome it shows a green background and nothing else.

It works correctly on Safari 7.0.3

@gurnec
Copy link

gurnec commented Aug 14, 2014

Chrome believes that any uri accessed via the file: scheme violates the same-origin policy.

The workaround is to close Chrome, and then run it with the --disable-web-security option (just don't forget to close and re-open Chrome before browsing the web).

It looks like gentle uses XMLHttpRequest fairly often (the partial1 template, the english.txt file, the mnemonic_seed Worker(), probably others too), so it seems difficult and not very productive to rewrite it all. Perhaps a better approach would be to detect Chrome in index.html and display some instructions on how to work around this?

@greenaddress
Copy link
Owner

It actually works on Chrome now but it has to be either served from a web server (python comes handy) or you need to start chrome/chromium with a flag: --allow-file-access-from-files.

The README is now updated to note this. Closing.

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

No branches or pull requests

3 participants