browser

Disabling Back button on the browser

I am writing an application that if the user hits back, it may resend the same information and mess up the flow and integrity of data. How do I disable it for users who are with and without javascript on? ...

Tool/framework for automated web app testing in Google Chrome browser?

Is an opensource/commercial tool/framework, available for automated web app testing in Google Chrome browser on Windows XP / Vista? ( An alpha/beta Tool is also OK) Thanks ...

When is a browser considered "dead"?

Keep in mind that I'm not looking for a list of current browsers to support, I'm looking for logical ways to make that list, backed by some kind of hard statistics. Since it's been a while since my last web job, I decided to do this latest site up from scratch. Now I have to decide again what to support in terms of browsers. Certainly ...

Best way to convert a decimal value to a currency string for display in HTML.

I wanting to show prices for my products in my online store. I'm currently doing: <span class="ourprice"> <%=GetPrice().ToString("C")%> </span> Where GetPrice() returns a decimal. So this currently returns a value e.g. "£12.00" I think the correct HTML for an output of "£12.00" is "&pound;12.00", so although this is rendering fi...

Is there a way to compile C++ code to Microsoft's CIL "bytecode"?

i.e., a web browser client would be written in C++ !!! ...

How to encode the filename parameter of Content-Disposition header in HTTP?

Web applications that want to force a resource to be downloaded rather than directly rendered in a Web browser issue a Content-Disposition header in the HTTP response of the form: Content-Disposition: attachment; filename=FILENAME The filename parameter can be used to suggest a name for the file into which the resource is downloaded by...

JavaScript's document.write Inline Script Execution Order

I have the following script, where the first and third document.writeline are static and the second is generated: <script language="javascript" type="text/javascript"> document.write("<script language='javascript' type='text/javascript' src='before.js'><\/sc" + "ript>"); document.write("<script language='javascript' type='text/javascrip...

What are all the valid self-closing tags in XHTML (as implemented by the major browsers)?

What are all the valid self-closing tags (e.g. <br/>) in XHTML (as implemented by the major browsers)? I know that XHTML technically allows any tag to be self-closed, but I'm looking for a list of those tags supported by all major browsers. See http://dusan.fora.si/blog/self-closing-tags for examples of some problems caused by self-clo...

Maintaining Automated Browser UI Testing

What's the best way to manage a slew of browser UI tests? I'm looking for an approach that may have worked for you in the past when dealing with numerous automated browser tests. Obvious answers such as "they should be refactored into lower-level UI tests" aren't what I'm looking for. Ultimately these tests are incredibly time consuming ...

How do you test your web UI to see if it renders uniformly across different browsers?

Tools like Selenium are good for testing user interactions on the web UI. However, I was curious what are people approaches for strictly testing and verifying that web pages are rendered correctly across a set of browsers? Is this even possible? ...

What are the quickest and easiest ways to ensure existing web pages display well on mobile platforms?

The pages in question contain a lot of javascript and CSS. How well are these supported by mobile platforms generally? Is there a browser emulator (or equivalent tool) to assist testing? ...

Browser Detection

What's the best / simplest / most accurate way to detect the browser of a user? Ease of extendability and implementation is a plus. The less technologies used, the better. The solution can be server side, client side, or both. The results should eventually end up at the server, though. The solution can be framework agnostic. The sol...

What are the cons of a web based application

I am going to write a database application for the camp I work for. I am thinking about writing it in C# with a Windows GUI interface but using a browser as the application is seeming more and more appelaing for various reasons. What I am wondering is why someone would not choose to write an application as a web application. Ex. The back...

Secure Gmail login on web browser from external Java program

Is there a secure way of logging into a Gmail account on a web browser, from an external Java program? I know the following works, but is there a safer alternative? Desktop.getDesktop().browse(new URI( "https://www.google.com/accounts/ServiceLoginAuth?continue=http://mail.google.com/gmail" + "&service=mail&Email=LOGIN&Pa...

I´m looking for publications about the history of the internet browser? Please help!

I´m looking for publications about the history of the internet browser. Papers, articles Blog posts whatever. Cannot find anything on ACM IEEE etc. and my blog search also didn´t reveal anything remarkable. Please help ...

Retrieve Web Browser Stored Form Data?

I have my web browsers set to save what I type into text boxes on forms. I have a lot of search terms stored in the text box of my browser and would like to get at it via a program of some sort before I clear these values out. There are far too many for me to go through one at a time. The web browser must store this data somewhere, ...

Is it possible to delete subdomain cookies?

If there is a cookie set for a subdomain, metric.foo.com, is there a way for me to delete the metric.foo.com cookie on a request to www.foo.com? The browser (at least Firefox) seems to ignore a Set-Cookie with a domain of metric.foo.com. ...

Is there ever a good reason to force opening a new browser window?

As a power web user, I know how to use my browser and it drives me nuts when web sites force me to open a new page. My mother, by contrast, just gets confused when this happens. At the end of a web session, she closes the current browser window and wonders where all these other browsers came from. Some companies I've worked with have ...

Where can I find trustworthy stats on browser market share?

Our product management folks are in the process of deciding which browsers we will officially support for our upcoming web front-end application. Where can I find reliable statistics on browser market share, broken down by agent and version, particularly for business users? Edit I should have added: We are building a web application f...

How do I detect what browser is used to access my site?

How do I detect what browser (IE, Firefox, Opera) the user is accessing my site with? Examples in Javascript, PHP, ASP, Python, JSP, and any others you can think of would be helpful. Is there a language agnostic way to get this information? ...