All Questions
Tagged with browser javascript
26 questions
0
votes
1
answer
186
views
Javascript and payment security
I'm using a third party CRM application which allows you to build web forms using drag and drop widgets and the ability to add javascript code to manipulate those widgets.
I need to build a form to ...
0
votes
1
answer
169
views
Using browsers to monitor changes in e-commerce pages
I've been looking at ways to monitor for changes in things like price and availability on e-commerce sites via visiting browsers, with three constraints:
the sites often don't have much ongoing ...
1
vote
2
answers
1k
views
Microservices, browsers and HTTP requests
In the old days we used to create a single .gif file for the entire application to avoid too many trips from the browser to the server. Similarly, we used to combine different types of information in ...
5
votes
2
answers
560
views
How to create a safe namespace for my application in JavaScript
I'm working on an application in the browser and I would like to make sure that my code does not conflict with code from other libraries or with possible calls added by browser manufacturers in the ...
4
votes
1
answer
3k
views
Why do browsers clamp timeouts and intervals?
I've been working on some abstractions of setTimeout and setInterval in order to process large sets of data without blocking the event loop in the browser.
Upon this, I have discovered that browsers "...
62
votes
8
answers
19k
views
Client-side coding: How to prevent malicious use?
Over the last few years, the trend for client-side (browser) applications has really taken off.
For my latest project, I have decided to try and move with the times and write a client-side ...
4
votes
2
answers
13k
views
How do I find the JavaScript that is invoked when I click on a button or a link in a web-page (part of a data mining project)?
I tried to use the 'inspect element' of the firebug addon for Firefox but it doesn't give me any link to the javascript.
For example I got this from the firebug add-on:
<a href="javascript:">
...
0
votes
1
answer
314
views
Browser security and payments
I've been finding a lot of blog posts claiming JS encryption is unsafe, here's a couple of detailed ones:
http://www.matasano.com/articles/javascript-cryptography/
http://rdist.root.org/2010/11/29/...
1
vote
1
answer
169
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 ...
1
vote
3
answers
4k
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
1
answer
2k
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 ...
3
votes
2
answers
361
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 ...
39
votes
5
answers
31k
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
3
answers
2k
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 ...
2
votes
2
answers
2k
views
Multi-Threaded JavaScript? [closed]
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 ...
17
votes
7
answers
9k
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
1
answer
246
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 ...
5
votes
1
answer
545
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 ?
3
votes
1
answer
206
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
1
answer
2k
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 ...
5
votes
2
answers
6k
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
4
answers
573
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, ...
3
votes
5
answers
656
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 ...
37
votes
10
answers
10k
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
2
answers
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 ...
-1
votes
2
answers
179
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 ...