1
vote
1answer
87 views

How does user confirmation box work?

How does the client know to send request to server only when the confirmation box result is ok and stay on page if cancelled? Also, is this mechanism any different in ASP.Net and ASP.Net MVC? I want ...
0
votes
3answers
295 views

Are (mostly) client-side JavaScript web apps slower or less efficient?

I am in the midst of writing a web application for work. Everything is from scratch. I have been a PHP programmer for about 13 years, Node.js programmer for the past 2 years, and have no shortage of ...
1
vote
1answer
431 views

Handling a request to override browser behaviors (Back and Refresh)

I'm a new guy in this company and I've been tasked to research on possible workarounds with the browser behaviors to cater to the demands of our client. A little background; what they want is to ...
1
vote
2answers
156 views

Building Websites: Fast Debugging Without a Browser

Is there a methodology to debug websites without a browser? Normally I use a web browser to view a results page. The slow debugging process confuses me a little. To correct an error I need to switch ...
31
votes
5answers
5k views

How easy is it to hack JavaScript (in a browser)?

My question has to do with JavaScript security. Imagine an authentication system where you're using a JavaScript framework like Backbone or AngularJS, and you need secure endpoints. That's not a ...
4
votes
3answers
365 views

Javascript behavior depends only on browser or browser + OS?

Generally for a javascript application, compatibility is mentioned in terms of browser types and browser versions it supports. Frameworks/Libraries like ExtJs also mention about the browser versions ...
0
votes
2answers
395 views

Multi-Threaded JavaScript?

I know, I know--it isn't possible presently BUT my question is this: Would it be possible to write a browser plug in for the major browsers that enables true, multi-threaded JavaScript? It just ...
9
votes
6answers
2k views

Would Python be too slow for client-side use in Browsers?

I've heard the statement that Python would be too slow to be of any use in browsers. I reckon Javascript is only superior in this aspect because of companies like Google who need it fast (and made it ...
2
votes
1answer
145 views

Searching for text within a webpage

I'm currently designing a search algorithm for a document, and just got curious about this while designing the algorithm: how do web browsers search a webpage? For example, in Google Chrome, you can ...
3
votes
1answer
236 views

How does a browser determine that a script has run for too long? [closed]

How does a browser determine that a script has run for too long ? Is it actually configurable through some advanced settings ?
2
votes
1answer
179 views

What is meant by sandboxing?

Sanboxing is listed as one of the many security features in html5 specification . Can someone explain what is meant by sandboxing? Does it relate to HTML only or to JavaScript also?
5
votes
1answer
753 views

Means for (legit) cross-site scripting

Are there good means for allowing scripts from two or more domains to collaborate in the same browser page? I want to create an extensible platform, where I provide the model and some views, but also ...
3
votes
2answers
3k views

Should I still make my site work in non-javascript capable browsers?

Apparently less than 1% had javascript off in 2010: http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/ So is it worth it to still support browsing without ...
2
votes
4answers
510 views

How should I evaluate new browser languages?

In these days there are many projects whose aim is to bring new languages to the browser by compiling them to JavaScript. Among the others one can mention ClojureScript, CoffeScript, Dart, haXe, ...
4
votes
5answers
478 views

View Source - is the Viewable markup important to you?

I just read a very compelling blog post from Scott Hanselman where he quoted colleague Erik Meijer as follows: JavaScript is an assembly language. The JavaScript + HTML generate is like a .NET ...
29
votes
10answers
4k views

Why aren't there other client-side scripting languages for websites? [closed]

Why is there just support for JavaScript and some VBScript in browsers today? I know JavaScript is good and all, but wouldn't having the option of using another programming language help promote ...
2
votes
2answers
1k views

Using JSTestdriver to test UI/DOM?

Can JSTestDriver be used to test DOM behaviors and interactions? I see I can write tests to exercise pure JS but how do I go about testing against HTML or DOM? Can I deliver with each test HTML for ...
0
votes
2answers
152 views

Why don't browsers have the ability to differentiate between events triggered via input devices and scripts ex: element.onEvent()?

Why don't browsers have the ability to differentiate between events triggered via input devices and scripts ex: element.onEvent()? Wouldn't this be a very simple way counter attack web spam bots? Or ...