browser

Why do ads stop rendering on my dev box?

I have ad tags (i.e. JavaScript) from several popular ad networks (AdSense, AdBrite, etc.) and I like to test them (basically make sure they render correctly) before adding them to my websites. I add the tag to a page, and end up loading the page several times on my dev box. I noticed that after several refreshes on my dev box, the ads ...

how to force reload of web page every five minutes only if active

I would like to have my web-app reload html every 5 minutes. One way I can do that is by using adding HTML header: <meta http-equiv="refresh" content="300" /> But this has an issue that even if the page in question is not active, it will go on reloading all the time. By active, I mean the browser window is on foreground and the page i...

Accessing a web service from your browser

I'm relatively new to how web services work so I've gone though a tutorial from http://blog.saminda.org/2008/07/light-weight-osgi-based-axis2-powered.html which sets up a web service that prints hello. The code to print out hello is here. In the same project here, there is another web service that adds two numbers together. To access...

How to test my application on older version of IE?

I have installed IE8 on my system. I usually test my application on this browser, but the problem arises when i got to know that the client is using IE7. Now how can i test my application on IE7? One possible solution is to have dual booting on my system. So on version of Windows i can have IE7 and on another i can have IE8. But i real...

How integrate JavaFX with Mozswing ?

Hi. I'm not able to integrate JavaFX with Mozswing. Simply nothing happened. XULRunner is already configured, it also shows the log at the time of execution. Below is an example of how i am implementing the javafx.ext.swing.SwingComponent, such .fx file: public class SwingBrowserComponent extends SwingComponent { public var mozill...

Compatibility View - Microsoft didn't get it right

Can someone comment on why Microsoft decided to have sites in IE8 Compatbility View report the user agent as IE 8 AND why they didn't allow specific urls in the compatibility view sites list? this is a REAL pain for our line of business sites, which don't have their own host. ...

Detecting whether cookies are enabled through Java

Is it possible in Java (SE, not J2EE) to detect whether cookies are enabled in the default browser? This isn't a client/server application. It's simply a desktop application that happens to interact with the default browser. ...

Is it a good technique to load different CSS for different browsers?

I have designed many web-templates. But (except my first one) I've never used browser detection scripts to load corresponding CSS. I am not sure whether it is a good technique, or just an alternative way (to struggle with a single CSS to satisfy all the browsers)? ...

<input> field gets auto filled by root user

Hi, I'm working with the Head First PHP/MySql book, and have a weird problem with one of the login scripts. I'm making a page with two input fields, a username and a password. The Code looks like this: <label for="username">Username:</label> <input type="text" id="username" name="username" value="<?php ...

C++ change Opera proxy settings

I'm writing an http proxy program in C++ and I need it to automatically configure the default browser proxy settings to use my proxy. With IE i can just modify the registry, Chrome has a command line parameters that can be used, firefox has the prefs file, but I can't figure out how to do it for Opera. It needs to be compatible with all ...

IE8 Randomly does not show background images of my divs

I have this annoying problem driving me nuts, IE 8 randomly won't show background images of my divs. One minute it shows, then the next time it won't. Then I have to refresh the page 2-3 times for it to show. All my pages work fine on firefox, chrome. Has anyone faced a similar problem? Any solutions? ...

How can I find out a web page viewers pixels per inch?

Can anyone think of a way I can discover a users pixels per inch? I want to ensure that a image displays in a web browser exactly the size I need it to, so using a combination of resolution (which I can get from the user agent) and pixels per inch I could do this. However, I'm not sure if there is any way to discover a users pixels per...

browser rendering profiling tools

What are some free (and not free) browser profiling tools? I know of a few: firebug profile / net panel YSlow google's version of yslow (forget the name) dynaTrace Ajax (free) Am i missing anything? Thanks ...

Browser warning about non secured resources

I know There are other similar links here on stackoverflow, But my question is different, so please don't treat this as duplicate. My page has no external resources and everything is being served from the same server using https, Firefox and chrome is not complaining it and only IE6 and IE7 are complaining. I used HTTPAnalyzer and Fiddl...

Android emulator browser detecting

Hey there, I'm developing a mobile version of a website. I'm currently using this Javascript to detect and redirect the user: if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/iPod/i))) { window.location = "http://sitena...

Custom scroll bar visualization with HTML/CSS/JavaScript

I am creating a highly specialized application where I want to experiment with a custom scroll bar. Ideally, I'd disable the built-in scroll-bar and draw my own. The page would look and feel like any other page, just that the scroll bar wouldn't be visible. The arrow keys, the scroll wheel, and any other mean of scrolling the page, shou...

Which web browsers give the most incompatability issues?

I'm not a 100% sure if I should be posting this here but where else can I post it (definitely not Server Fault or Super User) so hopefully it's not too inappropriate. I am currently developing a script that I hope to release as a plugin for wordpress and other open source content management systems. The script's purpose is to allow web ...

Browser window centering problem

Hi, I am trying to launching a centered browser window via a form-button using the following code... Test button The new browser appears the correct height and width, but the left and top attributes are ignored, so the window appears top-left. Am I being too ambitious trying to make this code in-line? Is there any other syntax I sh...

reliable user browser detection with php

Trying to detect a user's browser with PHP only, is $_SERVER['HTTP_USER_AGENT'] a reliable way? Should I instead opt for the get_browser function? which one do you find brings more precise results? If this method is pragmatic, is it ill advised to use it for outputting pertinent CSS links, for example: if(stripos($_SERVER['HTTP_USER_AG...

Useful program to render CSS in different browsers instead of installing each one separately?

In order to test CSS in different browsers, do I have to result to installing each browser on my development system? Isn't there a useful program where you can just load an html+css file and view how it's rendered in different modern browsers? ...