browser

Browser Emulator API for .NET

Hello, I'm looking for a good browser emulator API for .NET. I've been looking at WatiN, but I really don't need (want!) the GUI, I just want the HTML/DOM-parsing, JavaScript runtime and emulation of state, cache, and everything else. What I'm looking for would work something like this using (var browser = Browser.Create(BrowserType.F...

Some Browsers always run additional homepage request

Hi, we currently have a strange problem. Some users report problems with our website. As we analyzed the problem, we saw some strange browser behaviors. This is from our apache log (some parts removed): Browser for all log entries: "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; 3.1)" [21/Jun/2010:08:55:20 +0200] "GET /123xyz/ HTT...

Is an AJAX call cross-domain if only the port is different?

The main page is www.myserver.com:80 and the ajax references www.myserver.com:8081. The status code is 0 and the text is null. Is this a cross domain denial? ...

Prepend/Append don't Work (Opera, Safari, Chrome)

Camarades, I tried using the append and prepend (), but none of the controls work. Could anyone help me? In Internet Explorer and Firefox works. The Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;head&...

browser extension to replace JavaScript file on a live site for testing

I'm looking for a browser extension (Firefox, Chrome) allowing to replace a Javascript file on a live Web site to do some testing/hacking. Basically, it should take a URL and load another one instead (locally or on a HTTP development server). Any idea? ...

How to open a browser window in Java without the addressbar

Hello, Is there any way to open a new window in Java without the addressbar? I'm looking for a Java API similiar to the JavaScript window.open() where you can specify the new window "features". I know I can use Desktop.browse() or even the more adavance BrowserLauncher2, Still both APIs don't give me the option to specify any features...

Blank or white space at bottom of web page in Android browser

I am making a web page to be viewed in all platforms including the Android web browser. However, I have a problem. I have a Droid Incredible, and when I view the webpage on my phone's browser, there is a little over 1 screen high of blank space added to the bottom of the page. I've made the page as absolutely standard as possible (XHTML...

A good link explaining why browser sniffing is bad

Sometimes I visit a website with Chrome and get a message that I need to use one of the supported browsers to access the site. It really pisses me off (latest one: http://www.retailroadshow.com). Anyone knows a link that explains why it is bad and what is the correct way to handle those things? I want to send it to them ... Thanks ...

HTML Cache control

What is the difference between below 3 meta tags? <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="Expires" CONTENT="-1"> Do I need to use all those tags to avoid browser caching? ...

what audio formats are supported by the android browser?

What audio formats can be played using the html5 'audio' tag in the android browser? Does anyone know where to find official specs on what the android browser supports and not? For the record, the android media formats page does not seem to cover this - I have soundfiles (3gp) playing fine in a native app, but they won't play in my weba...

Any (or best) way to share data between desktop and browser/webapp?

I am looking for a way to let the user expose some local data to an webapp. The idea is to have a webapplication that goes somethings (e.g. plots a chart, edits photos, etc...) using information directly from the desktop instead of requiring the user to upload the data. While some of it might be possible with some technologies like Flas...

using jQuery.support to detect IE6

I've got the following code which is causing issues in IE6: $("#social-selector").hover( function () { $('.selector-list').show(); $('.selector-button').addClass('on'); }, function () { $('.selector-button').removeClass('on'); $('.selector-list').hide(); } ); I'd prefer to use jQuery.su...

How to clear IE cache without deleting files in use?

I am uploading image files in my mvc web app. I want to show this as logo on my site whenever I upload any selected image. For this, i need to clear the browser cache. Following is set of funtions I am using for clearing cache. void clearIECache() { ClearFolder(new DirectoryInfo(Environment.GetFolderPath (Environment....

Determine actual viewing size in browser

I am trying to determine the actual viewPORT size of the current browser window. I've tried: window.innerHeight/innerWidth document.documentElement.clientHeight/clientWidth document.body.clientHeight/clientWidth All return the full page size and NOT the viewing area. What I'm trying to ultimately achieve is forcing a popup menu to...

How Do I Not Allow Any Firefox Customizations of my web application?

I have built an ASP.NET mvc web application and it seems that some of our users have started making add-ons or extenstions of some type in Firefox to customize the app for them specifically. Is there any way to not allow this? Can I do something with my app so they have no access to run customizations? My boss is freaking out over thi...

Spawning multiple browsers from Selenium RC utilizing Python

I've been trying to develop an automated test case solution using Selenium RC and Python and after lengthy testing I've hit a pretty hard block in the road, so to speak. I have three files: unit.py, case1.py, and case1m.py unit.py configures instances of case1m.py with a browser and a port, then runs the test by sending the case1m ins...

the future of Javascript

how do you see the future of javascript as a (main) web browser scripting language? there are browser-dependent variations of javascript support, javascript itself has some flaws. this could possible lead to incorporation of some dominant js framework into the leading open-source browsers, or promotion of a different (or completely new)...

can a webpage on a mobile browser ask/get users location from the phone?

Is there any way that a webpage can make a request for the users location from the android / iphone device ? Since all I need is the users location, I am trying to figure out if there is anyway I can bypass developing a native app and use some nifty html5 call to just get the users location so all a user would need to do is visit my web...

Is there an internet browser application that runs on mono?

Dear ladies and sirs. I am using KeePass on my Mac, it runs on Mono. However, there is no copy paste between mono and Mac apps. So, I am looking for a mono based internet browser, hoping that copy paste within the mono framework works fine. This question does not belong to SU, because I am willing to compile the application from the so...

Need a way to perform auto confirm for firefox or any other browser popup's

Is there a way to auto confirm popup. For example i'm deleting file via firefox this operation triggers a confirmation popup when the options are ok and cancel. In this case i need to click on ok button automatically. ...