browser

How do I set my development web browser in VS2010 RC?

I don't like to use IE for my system default web browser. but I do want to set IE as my browser in VS2010 because it works a little nicer for debugging and I like to develop to the lowest common denominator. (jab, lol)... anyhow, can I default to debugging against IE? I know in VS2008 you just had to "Browse With..." on an .aspx page...

Bypassing built-in browser authentication when making HTTP calls from embedded Applet.

I have a simple web page with an embedded Java applet. The applet makes HTTP calls to different Axis Cameras who all share the same authentication (e.g. username, password). I am passing the user name and password to the Java code upon launch of the applet - no problem. When I run from within NetBeans with the applet viewer, I get full...

How can I tell when a web page resource is cached?

Is there a way in JavaScript for me to tell whether a resource is already in the browser cache? We're instrumenting a fraction of our client-side page views so that we can get better data on how quickly pages are loading for our users. The first time users arrive on our site, a number of resources (JS, CSS, images) are cached by the bro...

J2ME applet - run Java in a mobile's web browser

I'm looking to embed a J2ME application as an applet in a web page to be accessed via a mobile phone web browser. Every major web browser supports the embedding of Java applets - does an analog exist for cell phone web browsers? If not, does there exist a cross-platform way of launching a J2ME application from a mobile web browser? ...

Detect whether the ie8 xss filter is enabled

Is there a method by which we can detect if a user using ie8 has the XSS filter enabled? As far as I can tell, nothing changes in the User Agent or in the http headers when ie8 has the XSS filter enabled vs when it does not. That leaves some client-side detection of the use of the filter. Would it be possible to write a test page that w...

JSON viewer for browsing APIs

Does anyone have any recommendations for applications or browser plugins that make browsing and visualizing JSON APIs easy. ...

Java socket programming - stream get stuck

I am currently working on a simple proxy server, which receives http request from browser, process it, then forward it to the desire web server. I try to get the request from the input stream of the socket connected by the browser, everything is fine except that the stream get stuck after receiving the last block of data. My code is in...

I don't want to display back and forward button in my browser. Is there any solution apart from popup trick?

customers does not want to allow user to use back or forward button. Just a clean page without commandbar and toolbar, same for FF an IE. Disabling them is not an option as now. ...

Safari and Chrome back button changes hidden and submit values in forms

The following problem happens on both Safari and Chrome, so probably a WebKit issue. Page A: a page that requires you to login to see, contains a form that has a type=submit button, with name=submit, and value=a Page B: some other page Page C: ask user to login page, contains a form with a type=submit button, with name=submit and valu...

How can I get browser to prompt to save password?

Hey, I'm working on a web app that has a login dialog that works like this: User clicks "login" Login form HTML is loaded with AJAX and displayed in DIV on page User enters user/pass in fields and clicks submit. It's NOT a <form> -- user/pass are submitted via AJAX If user/pass are okay, page reloads with user logged in. If user/pass a...

Browser actions outside the viewport

If an iframe loads a page containing a javascript ticker, but the ticker is outside the viewport, will a browser still waste CPU on running the ticker? ...

Check if Internet Connection Exists with Javascript?

How do you check if there is an internet connection using Javascript? That way I could have some conditionals saying "use the google cached version of JQuery during production, use either that or a local version during development, depending on the internet connection". ...

embedded browser using XULRunner

Are there any examples of to use XULRunner to embed the browser control inside a app? (preferably in c or c++ for native win32 apps) I have tried QT, wxWidgets, Awesomium, chrome embedded, LLmozLib, midori and Embedding/NewApi/Win32 The best one is wxWebConnect (which is part of wxWidgets framework). Why, cause you don't need the whole...

Check if Internet Connection Exists with Ruby?

Just asked how to check if an internet connection exists using javascript and got some great answers. What's the easiest way to do this in Ruby? In trying to make generated html markup code as clean as possible, I'd like to conditionally render the script tag for javascript files depending on whether or not an internet condition. Some...

use winforms application to detect form fields in a browser

Hi there I have a requirement to create a windows form control which has to detect username, password and address fields in a browser.. so when i navigate to a page that asks for a username or password, the application asks me if it should fill in the data for me. How do i get the form fields in a browser? and how do i fill them in, a...

Set a locale in javascript

Jquery test the validity of a date via: !/Invalid|NaN/.test(new Date(value)) new Date(dateString) is the same as Date.parse(dateString) and uses browser/os locale to parse the string. im trying to parse DD/MM/YYYY but i get an error because my browser is looking for MM/DD/YYYY. Since my product will be used only by DD/MM people, i wa...

In IE8, why is it that when I point a link to Twitter.com, it pops up a "download open/save as..." dialog?

<a href="http://twitter.com/theusername"&gt;Click&lt;/a&gt; For some reason, it pops up the download instead of going to the page. Edit: When I close IE8 and open it again, it works again. Then, the 2nd time, it won't work. I have to close and open IE8 each time for it to work. ...

detect open browser and parse html

Is there a way to create a winforms app, that detects an open browser and then reads the html. i need to create an app that checks your browser and if there are fields like address, email etc. the winforms app must automatically fill it in. ...

How to make browser do a set of predefined inputs?

Hi, There's a website I frequent that gives codes such as GD??Q-TPY32-TPTT3-9CM9P-F2QMQ and hints that the ?? is a number and a letter. If you're the first to unlock the code you can redeem the modest prize. So the obvious way to solve this problem is to brute-force the code. But obviously I don't want to sit in front of the computer ...

If I have this code in the iPhone Safari or Android Browser...will it be slow?

<div class="result"> <div class="thumbnail"> <img src="80x80.png"> </div> <div class="name"> Alex Hong </div> </div> The page will have 400 of these! A list of people and their thumbnails, all different. I will use JQuery LazyLoad, so that not all images are downloaded immediately. (The images are only down...