etacarinaea / startpage

a simple and customisable startpage
GNU General Public License v3.0
148 stars 35 forks source link

Not working in Chrome/Chromium #2

Closed ragsmaroon closed 9 years ago

ragsmaroon commented 9 years ago

EDIT: I'm a fucking idiot. Wish this had Chrome support though :/

etacarinaea commented 9 years ago

I think this is related to chromium's issue 40787. You'll have to start Chrome/Chromium with --allow-file-access-from-files, otherwise it won't be able to load config.json. You will also have to add var cfg = 0, cfg_bool = 0; before $.getJSON("config.json", function(data){ in main.js, because chrome doesn't make those variables automatically global for some reason.

ragsmaroon commented 9 years ago

That worked! Thank you very much.