an application for retrieving information on the web.

learn more… | top users | synonyms

77
votes
14answers
30k views

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

It seems like most of common web browsers (Firefox, Chrome, Safari) are developed using C++. My question is straightforward. Why they use mainly C++ rather than any other language? Edit: What ...
45
votes
8answers
7k 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 ...
31
votes
5answers
6k 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 ...
31
votes
10answers
5k 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 ...
23
votes
9answers
6k 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
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 ...
10
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 ...
10
votes
5answers
6k 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 ...
9
votes
6answers
3k 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 ...
9
votes
1answer
2k 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 ...
8
votes
1answer
511 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
269 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
2k 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
275 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
2answers
209 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
627 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
476 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
1answer
899 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
175 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 ...
5
votes
1answer
245 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
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 ...
4
votes
2answers
273 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
489 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
1k 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
2answers
154 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
471 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
3answers
2k 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
133 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
1answer
704 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
238 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
279 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
9answers
460 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 ...
2
votes
1answer
183 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
528 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
248 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
256 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
161 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
328 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
177 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
325 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
284 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
148 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
467 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
4answers
297 views

Why do browsers these days ship with dev tools [closed]

I just read a question asking how Facebook blocks console-based script attacks. The reason for this block was to prevent a recently famous "hack" where one would trick a user to inject a malicious ...
1
vote
1answer
284 views

Justify moving beyond IE7

I work within a closed environment that defines supported browsers organization-wide. Put another way: you can't use it unless it's an approved install. Given that (soon-to-be-formerly) Twitter ...
1
vote
2answers
120 views

What kind of webservice can be called with just a browser url?

Can a webservice be written in such a way that it can be called via just a browser url? For eg. if the webservice is called GetStockQuote, then it should be callable by the following url on the ...
1
vote
1answer
563 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
173 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:"> ...
1
vote
1answer
83 views

Un selectable content using CSS

I have found a website where the text is select protected. How can i make this without JavaScript. I think it is possible by using CSS. A set of paragraph is protected with non selectable contents. ...