WARNING: Could there be some kind of script attack ? My Safari browser freezes with 'foo' alert message from this site and it has placed itself as default website so whenever I reopen safari it freezes again. Let me know if you know how to fix this.
A collaborative spreadsheet in less than 45 lines of JS, one library used
61–69 of 69 posts
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#62I like the craziness that this devolved into. It's funny when a bunch of people are all editing like mad. I had the thought that it'd be fun to have a contest using jsfiddle to start from some point, like the excel (lite) clone in 30 lines, and add the best/coolest feature in some limit of lines. It's really wonderful how ingenuity stacks.
Such hax. I wonder if a collaborative drawing app could be made with this, using canvas.. I keep trying to figure out exactly how it works but then sparkleponies and alerts everywhere...
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#63I think the title should warn users of the various remote injection vulnerabilities present in the script. It took about 5 seconds for the page to change to xhamster
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#64Earlier quoted context omitted.
You'd have to parse the cells as some sort of DSL that only allows mathematical tokens, as opposed to eval which allows access to the full arsenal of the JS language. But I think excel is Turing complete
Brings up the interesting question -- I wonder what turing-complete DSLs have drop-in JS libraries you could use to replace the call to "eval" here.
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#65WARNING: Could there be some kind of script attack ? My Safari browser freezes with 'foo' alert message from this site and it has placed itself as default website so whenever I reopen safari it freezes again. Let me know if you know how to fix this.
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#66Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#67Somebody has created a bot to put script lyrics in the spreadsheet ._.
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#68Nice. I look forward to the full office suite in 60 lines of JS, the email client/server in 75 lines of JS, and of course the bitcoin exchange web app in 90 lines of JS.
Re: A collaborative spreadsheet in less than 45 lines of JS, one library used
#69Nice. I look forward to the full office suite in 60 lines of JS, the email client/server in 75 lines of JS, and of course the bitcoin exchange web app in 90 lines of JS.
Did you forget an operating system in 150 lines of JS? (Four libraries used)