I want to create a standalone .html file that has some Javascript that loads a URL that contains JSON data, then uses that data to display some useful info. I'm getting shit about "cross-domain policies" in Chrome, though. There has to be a way to do this, right? Have they really made it impossible to use the browser to write local, personal "web apps?"
wget > lynx > firefox with pentadactyl > emacs > other browsers > vi > microsoft word > Call of Duty
Name:
Anonymous2013-04-10 3:23
>>6 wget *Pffggfuh*. I vomited all over my keyboard. Use curl.
Name:
Anonymous2013-04-10 3:42
>>7
cURL is larger and requires more libraries. If you don't need its extra features, just stick with wget.
Name:
Anonymous2013-04-10 4:12
>I want to create a standalone .html file that has some Javascript that loads a URL that contains JSON data, then uses that data to display some useful info
baka
Name:
Anonymous2013-04-10 4:17
DONT HELP HIM
he is trying to hack websites!
Name:
Anonymous2013-04-10 4:27
>>9
Why? >>10
Nope. I just want to write a little .html file to fetch mining stats from a Litecoin pool. My friends and I split the cost of a 7970, and I wanted to make a small, neat-looking page that would occasionally fetch stats from it, so that they can keep up with its progress.
The whole *point* was that I didn't want to bother with a server, just e-mail an .html file to some friends. I did try setting up a simple Node server in Heroku, but for some reason HTTP requests to the JSON page weren't working (though requests to other servers echoed fine...) God, how I hate web programming.