g0v / addressbook.parser

Taiwan government addressbook parser
15 stars 3 forks source link

Can't run 'front-end.html' on chrome #18

Closed Superbil closed 10 years ago

Superbil commented 10 years ago

use Firefox is just fine

blue119 commented 10 years ago

The chrome seems like to disallow the file access via file://. you will get the clue from debug console.

Superbil commented 10 years ago

got it, problem is Same-origin policy Really want to use chrome, use '--allow-file-access-from-files' to open it

Mac:

open /Applications/Google\ Chrome.app --args --allow-file-access-from-files