an application for retrieving information on the web.

learn more… | top users | synonyms

79
votes
14answers
37k views

Why are most browsers developed in C++ [closed]

It seems like most of common web browsers (Firefox, Chrome, Safari) are developed using C++. Whys is that so?
53
votes
8answers
9k 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 ...
34
votes
5answers
8k 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 ...
32
votes
10answers
6k 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 ...
25
votes
9answers
9k views

Pure Java web browser, is it practical? [closed]

I know that a Java web browser is possible, but is it practical? I've seen the Lobo project and must admit I am impressed, but from what I've gathered it seems that development stopped in 2009. Would ...
15
votes
7answers
6k 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 ...
15
votes
7answers
2k views

Why aren't browser extensions monetized? [closed]

With the monetization of mobile apps being so popular, I'm surprised that extension developers are still mostly relying on donations as their primary form of compensation for their software. While ...
14
votes
9answers
1k views

Will I ever be able to code client-side browser code in a language of my choice? [closed]

I'll be brutally honest: I hate writing client side code in JavaScript. I'm not a fan of this language, to say the least. It seems silly to me that browsers support a programming language, rather ...
12
votes
1answer
3k views

How important is the Acid3 Test anymore and what should replace it?

For a long while the default guide to latest standards support for browsers was the Acid 3 Test. I've just run this on Windows 7 (x64) for Chrome 15.0, Firefox 7.0, Safari 5.1 and IE 9.0 and they all ...
10
votes
5answers
7k views

Best practices for web application Authentication/Security (Any Platform)

I got a question today from my manager asking me my thoughts on what is considered an acceptable design for authentication of a web form application, especially in regards to the nature of many ...
8
votes
1answer
726 views

How does font rendering actually work?

I realize that I know essentially nothing about the way fonts get rendered in my computer. From what I can observe, font rendering is generally made in a consistent way throughout the system. For ...
7
votes
2answers
272 views

How do I publicize a cool bookmarklet? [closed]

I wrote a really cool bookmarklet and now I want to tell everyone. I have absolutely no idea where to go, is there some sort of exchange for these things? In case anyone is curious: I was tired of ...
6
votes
2answers
3k views

high level design of a browser layout engine?

I'm interested in how browser layout engines like gecko, webkit and trident are architected from a high level. what are the key abstractions? how are they layered? what are the inputs/outputs for the ...
6
votes
3answers
300 views

Testing minor browser version compatibility

I develop a web application and we test it on browsers like Firefox and Internet Explorer. During our development we test the application on Firefox 3.5.2 and our testing team tests the same on 3.5.6 ...
6
votes
1answer
350 views

How do browsers paint a render tree to the screen?

I'm interested in building a browser-like rendering engine. I understand a bit about how OpenGL and GUI toolkits work. But how do browsers actually put pixels on the screen? Are they like software ...
6
votes
2answers
221 views

Why are different components of the “web platform” not modularized?

The web platform is hip these days. But the web platform consists of many parts that are conceptually separable, developed at different times and paces, and (most important to me) could be useful on ...
6
votes
1answer
923 views

Implementing Digitally signed data in a Web Application

I understand PKI well from a conceptual point of view - i.e. private keys/public keys - the math behind them, use of hash & encryption to sign a certificate, Digital Signing of Transactions or ...
5
votes
3answers
504 views

Why are custom PDF download options preferred over ctrl+p?

Why do I, as a developer, have to go through so much trouble developing PDF download options for my clients when everyone in the world can simply hit Ctrl+P and life is good? The current issue I'm ...
5
votes
2answers
4k 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 ...
5
votes
1answer
1k 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
1answer
273 views

How are you handling browser compatibility in the new “rapid release” world?

With the new world of rapid browser releases I am trying to figure out how to define & implement our browser compatibility process. Previously we would always support the latest major version of ...
4
votes
2answers
290 views

Is there any risk of web browsers spying away localhost applications on an Internet-connected PC?

Despite what it might look like this is a serious question. After that story with Android OS and Chrome browser submitting to Google the details of the WiFi access points they see in the neighborhood ...
4
votes
5answers
503 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 ...
4
votes
4answers
2k views

What are advantages and disadvantages of browser rapid release cycles for web developers?

Chrome and Firefox have now rapid release cycles. Also Opera is starting to get speed and Internet Explorer should take the high road soon. I am a web developer. What does that mean for me? What ...
4
votes
3answers
1k views

How to open a desktop application through browser without a Java applet?

We run a cloud-based medical software, and a very important part of the program is bridging to an imaging software straight from our website, passing information through command line arguments. We ...
4
votes
2answers
164 views

What is the most accurate/frequent report on browser usage on the Internet? [closed]

I'm determining which browsers a new site should support. I'm looking for a respected and accurate (as possible) report on the browser versions that are currently in use. This report should, at ...
4
votes
3answers
592 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 ...
3
votes
5answers
730 views

What is the value for a web developer to be familiar with the source code of a web browser?

Are there any specific reasons for a developer that deals with web applications (let's say writing html and js) to download a browser's source code (like Chromium) and learn how the engine works ...
3
votes
9answers
481 views

Opera for web development

Many developers recommend Firefox for web development for a variety of reasons. But, after looking at Opera, it seems to me that Opera has all of the same web development functionality that Firefox ...
3
votes
3answers
4k views

Browser as a rich client platform [closed]

In Java there is a notion of "rich client platform" - it's a framework for building desktop applications, provides common features like help browser, window layout management, etc. Prominent ...
3
votes
2answers
152 views

Can >8bit per channel colours be seen as intended in the browser?

For, say, a subtle background gradient to a web page, what are the advantages and disadvantages of saving it as a 16bit/channel png? Are the colours represented by >8bits displayed in the intended ...
3
votes
3answers
10k views

Browser-based GUI for a python application [closed]

I want to create a web/browser-based GUI for a command-line python application. The goal is to make use of HTML/JS technologies to create this GUI. As the application itself, it needs to run on Linux ...
3
votes
1answer
1k views

When opening pdf's in browser, why is “inspect element” available and “view source” not?

When opening pdf's in Chrome and Firefox, the "view source" button is greyed out. "Inspect elemet," however, reveals HTML. Are the browsers simply downloading the file and generating html to display ...
3
votes
2answers
269 views

What algorithm browsers follow to remember values for form controls?

You can have different HTML input elements on a single HTML form and all of them, have their associated remembered values (values that you've entered in those fields); Is it related to the id or name ...
3
votes
1answer
347 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
185 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?
2
votes
4answers
543 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, ...
2
votes
4answers
262 views

What is the “architecture” that provides functionality to application-level URI interfaces, like chrome:// and Firefox's about:config, etc?

According to Wikipedia, about is an internal URI scheme (also known as a "URL scheme" or, erroneously, "protocol") in various web browsers to display certain built-in functions. It is not an ...
2
votes
1answer
319 views

How to gracefully handle unsupported browsers?

Recently I have started experimenting with some of the newer W3C specifications such as WebGL and the Web Audio API that are not yet widely supported in browsers. As I want my page to look ...
2
votes
2answers
169 views

Browser support for internal corporate tools

We are on the verge of a conversion. For years, our company supported only IE for its internal (intranet) home-built tools. Since a few of our users are still on XP, which means IE only goes up to ...
2
votes
1answer
2k views

Better support for controlling printing options like headers and footers from Javascript [closed]

Why is it that browsers do not provide a mecanism to set the printing defaults regarding headers and footers from within the app? Web apps are fully fledged apps nowadays, and modern browsers are ...
2
votes
2answers
203 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 ...
2
votes
1answer
329 views

How does css3 hardware acceleration work?

Can anyone tell me how some css3 code (transitions/transformations) get hardware accelerated? In other words, what actually happens when the browser sees css3, what is the pipeline/process involved?
2
votes
1answer
207 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 ...
2
votes
1answer
373 views

Automating tests in a browser not supported by selenium

I work on a company that have a payment system that runs under a executable kiosk instance of internet explorer 7. when the application is running the process name is not similar with iexplore.exe or ...
2
votes
1answer
156 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 ...
2
votes
1answer
595 views

tail-like view on HTML logfiles

I'm working on an application that creates HTML log files. I'm tired of having to manually reload and scroll to the bottom in the browser to see the latest entries. A solution that does not really ...
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 ...
1
vote
2answers
915 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 ...
1
vote
3answers
2k 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 ...