11
votes
4answers
990 views

Why does (![]+[])[+!![]+[]] produce “a”

I am interested in understanding the internals of JavaScript. I've tried to read the source for SpiderMonkey and Rhino but it's quite complex to wrap my head around. The reason I ask is: why does ...
9
votes
8answers
5k views

GUI apps in javascript without a browser?

I would like to use javascript to develop general-purpose GUI applications. Initially these are to run on Windows, but I would like them to ultimately be cross-platform. Is there a way to do this ...
7
votes
7answers
3k views

I want to write a desktop OSX or Windows app in Javascript — any experiences?

I'd like to write some small applications for Windows and OSX. Portable is good. For instance, the simple TclKit solution for TCL would work well if I could stand to look at Tcl for any length of ...
6
votes
3answers
809 views

High performance JavaScript chart API for Mobile applications through HTML

I'm working on a cross-platform mobile application through MoSync. Regarding a JavaScript chart for displaying data come from Bluetooth in the mobile device, I need a JavaScript chart API which has a ...
6
votes
6answers
2k views

Creating a Javascript local application(ran in browser)?

I'd like to write an application that would use both Javascript and HTML as for the user interface. The app wouldn't really need an internet connection but will need access to the user's local files. ...
6
votes
1answer
510 views

How does the Spotify web browser button interact with the Spotify app?

Check out this play button, written entirely it seems, using javascript: spotify play button. Notice that pressing play will cause Spotify to start playing music. OK, I figure that's done via some ...
5
votes
2answers
783 views

Backbone.js singular Models not in collection

Being new to Backbone.js, just wanted to clarify the correct way to go about this simple task. Developing a web app, almost always, you'll have user accounts, where users can login to your app, and ...
5
votes
3answers
20k views

facebook apprequests dialog error “An error occurred. Please try again later.”

I am trying to build-in 'invite a friend' in my app. I am using FB.ui. It seems to work (I am using standard code from http://developers.facebook.com/blog/post/464/. But the iframe where you should ...
4
votes
5answers
1k views

Launch mobile safari from full screen web app on iPhone

I've Googled this question in a few variations and can only find answers in the context of using PhoneGap or jQuery mobile. However, I'm using neither... just plain old html and javascript. I'm ...
4
votes
2answers
2k views

How can I detect if an app is installed on an android device from within a web page

Here is the situation: I have a web page that needs to check through JavaScript if my app is already installed on the android device it is currently running on. If the app is installed the page will ...
4
votes
1answer
835 views

Socket.io - Manual reconnect after client-side disconnect

I use node.js and socket.io to create a real time web application. I will give the users full control of the socket connection, like manual disconnect and (re)connect. function socket_connect() { ...
4
votes
1answer
3k views

facebook app iframe login issue on safari

I have a facebook app that uses iframe. facebook loads my website inside an iframe. When I click a link, my website display an iframe using lightbox to display a facebook login. Everything works fine ...
4
votes
1answer
309 views

Kiosk Web App jQuery Implementation

I have a relatively simple web app that functions as a kiosk that I am currently revising. My original goal was just to get it working, but now I am trying to implement more a elegant approach. ...
3
votes
6answers
2k views

Best javascript-based web application framework? [closed]

I'm looking for a web application framework (preferably javascript-based) to develop desktop-style applications which won't disappoint a Qt developer. I need nested vertical/horizontal layouts, ...
3
votes
1answer
1k views

How can I convert numbers into scientific notation?

I want to make a function that takes an entered value and converts it to scientific notation (N x 10^a) I've tried many different things, but I can't seem to get it right. Example: I enter 200. The ...

1 2 3 4 5 13
15 30 50 per page