2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
2012 July 27
And just to emphasize, I am talking only for user registration.
I mean, just adding spaces in between each character would be enough to render any malicious input useless. and depending on your userbase, how many people just cant live without inputting registration information that includes the specific character combinations of script, href, src, and http?
Maybe script, but that'd only be an issue with email, where making an actual user change their email would be ridiculous. And for that particular situation, email input would still have to go through validation anyways. can't really perform XSS with an @ and .domain requirement. and I can't think of a single word in the english language that uses the letters "src" in that order.
Am I on to something or is this a terrible idea?
2012 July 27
There hasn't been even a .x release in TWO AND A HALF YEARS
1.8 came out in Jan 2010
Resig resigned a long time ago
There's plugins and stuff, but no native combo or grid. They've been on the "todo" for years.
JQueryUI is a massive, massive failure, and I don't know why you sheeple are holding on to it.
Please, let's just abandon it, and find something else.
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
2012 July 26
OK so I know from looking at the posts here that most of you guys are experts on JavaScript. I recently got the android app called AIDE ( it lets you write JavaScript and then run it on your phone without the need of a computer). I have really gotten into programming and wanted to start with JavaScript using this app (so that I can just experiment and make code wherever). The only problem is I don't even know where to start. I don't know if this is the right subreddit to ask but I need help as a begginer. I have looked at sites and they all just confuse me. My goal is to make a cool game I can say is mine (like RuneScape, but not that complex). Does anyone know a good site to learn from or have any information that would help? I have tried to make something but I just don't know the commands or the formate to type any of it. If you post anything to help, thank you.
2012 July 25
I'm getting a first look at some vendor code for a mobile app and I noticed they're using Web SQL Database. I thought this was odd as I could swear Web SQL DB had been deprecated by the W3C. Sure enough, this looks to be the case, http://www.w3.org/TR/webdatabase/
I also thought Indexed DB was where client-side DBs were going, though I could certainly be wrong, I don't have a ton of knowledge here, just going from what I think I've read in the past.
I believe we only spec'd support for iPhone and Android.
What do you guys think about a vendor using a deprecated API? This seems really bad IMO as obviously the spec is not going to get updated, browser vendors that don't support it aren't going to start supporting it and I imagine will eventually drop support for it.
Again, I don't really have a ton of knowledge about client-side DBs, but this did jump out at me glancing at their code.
2012 July 25
I have been programming in languages like C, C++, Java, python etc. and have a natural tendency to assume a few things about the scope of a variable. Recently tried to do some javascript and ended up with very bizzare bugs related to scope (one function called another function which both used i for a counter and the second function was changing the value in the calling function).
Anyway is there a resource that clearly lays out how scopes work in javascript? Also I have just been writing code in notepad++ and running on chrome. Any good debugger I can use?
2012 July 25
2012 July 25
2012 July 25
2012 July 25
2012 July 25
2012 July 25
So I am limited to using only Javascript to redirect users to a PHP page which will update the users record in a MySQL database. I started with a basic redirect but this method can be bypassed by pointing to the URL of the PHP page. So to fix this, I used Javascript to POST a form to the PHP page where a variable was being expected by the PHP page. This can be easily bypassed if the user takes a look at the POST using a web tool. What is the best way to secure a page like this? If I use a common shared key, it will be in plaintext if you view the source from your browser. Any pointers or links will help.