browser

Does Firefox and Safari behave similarly regardless of OS?

By that I mean if Firefox renders exactly in the same way on win/mac/linux and Safari on... If not, what have you experienced? ...

Where do browsers store dynamically downloaded Javascript?

This question ( http://stackoverflow.com/questions/1199467/weird-browser-ajax-error-extra-junk-appears-at-the-end-of-javascript-files-in ) set me thinking ... I know what happens when I dynamically update the DOM on a web, page. At least, there's a tree of nodes representing the document and I can modify it. But where does a browser put...

How can I detect Javascript idleness?

Does anyone know how I can write a Javacript function which returns true if the browser's Javascript engine has been idle for a certain amount of time? I am happy to use mootools / jQuery etc if easier, with a slight preference for mootools. EDIT: My actual problem: I'm making a call to a 3rd party's API. The call returns immediatel...

How is mime type of an uploaded file determined by browser?

I have a web app where the user needs to upload a .zip file. On the server-side, I am checking the mime type of the uploaded file, to make sure it is application/x-zip-compressed or application/zip. This worked fine for me on Firefox and IE. However, when a coworker tested it, it failed for him on Firefox (sent mime type was something...

Using custom Browser Keyboardshortcuts

I am looking for some hints/examples how to get Keyboardshortcuts working for my Browser. Lets take Internet Explorer 7 to get an Idea how this can work...any ideas? ...

Message when browsing with incompatible Browser

I wonder some jquery features are not displayed (correctly) at Internet Explorer 6 like the ui.slider. Is there a chance not to display the real jquery code of the site if its opened with a "underdeveloped" Browser? Instead of showing the real jquery code, a message with "Get a compatible Browser" or something like that should show up. ...

Embedding Base64 Images

Purely out of curiosity, what browsers does Base64 image embedding work in? What I'm referring to is this. I realize it's not usually a good solution for most things, as it increases the page size quite a bit - I'm just curious. Some examples: HTML: <img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..."...

Pocket IE: Still seems to be caching?

Hi all, I'm having trouble with a particular version of Pocket IE running under Windows Mobile 5.0. Unfortunately, I'm not sure of the exact version numbers. We had a problem whereby this particular 'installation' would return a locally cached version of a page when the wireless network was switched off. Fair enough, no problem. We cle...

How can I detect if IE8 is running in compatibility view?

Is there anyway to determine if an IE8 browser has compatibility view switched on? I can't seem to find anything on Google, and so I'm wondering if this is a piece of information that is available... Why you ask!? I'm trying to track down a bug in our application. I'm piecing through the Elmah logs and there seems to be a trend; thi...

iPhone - tabbed browsing by storing webView in an Array/plist?

I want to build a tab-Browser and so far I've implemented everything (Bookmarks, settings...) except tabbed browsing. What I know so far is that I should store my webView in an array or a dictionary and then retrieve it. but it doesn't seem to work. this is what I've tried so far in various variations: [mainDrowser.webView removeFrom...

prev next pages for winforms

I'd like to implement the prev/next page behaviour for a winforms app like the browser prev/next pages any existing code samples or guidance on where to start ? I'd assume this is something already implemented and would not like to reinvent the wheel if possible If the sample uses scsf/cab, that would be even better ...

Is there a reliable way to determine if a browser tab or window is inactive or not in focus?

I've got a javascript timer that is making XMLHTTP requests on a constant basis (once every 10 seconds). I'd love to be able to pause the timer when the window or tab loses focus. I'm fully aware of the onFocus and onBlur events on the window object, but they don't fire reliably across all browsers. For instance, in Safari, tabs don't...

how do you take a snapshot of your current browser window using php

i've tried searching everywhere but there's seems to be no implementation available other than having the client use a file (batch/exe of some sort). ...

Enabling activex in multiple browsers

Hi all, I've created a small activex control, it works fine in IE, surprisingly enough it doesn't seem to work in any other browser. I know that firefox has got an add-on to enable activex, my question is if there is any general API for all browsers to suggest the client to install. Other than that, what options do I have for enabling m...

Browser does not remember position of page last viewed

Hello everybody, I have done a few searches for this issue and I have come up empty handed. I hope somebody can clarify things for me and point me in the right direction. Problem: I have a page that displays a list of results after submitting a search form. When a user clicks on one of the results, the browser goes to a new page showin...

If an externally included file (e.g. JavaScript or CSS) is included twice (or more) on a page will there be two (or more) web requests?

Let's say because of a conditional comment or just being careless the same included file is present for users of some browser or even all browsers. For example: <!--[if lte IE 8]> <script src="mygreatincludefile.js" type="text/javascript"></script> <![endif]--> <!--[if lte IE 6]> <script src="mygreatincludefile.js" type="text...

How does in-browser chat work?

Just curious. How exactly does chatting in a browser work? Usually if a user goes to a web page, his/her webbrowser requests the page content. A server produces output and sends it to the user's computer. But with chatting it's a little bit the other way around (well not exactly). It's not the user requesting a chat message from some ser...

General Browser display statistics

I need to come up with some figures on browser display (resolution) statistics. Obviously there is W3 Schools, however they state that these are results from their site and is biased towards tech savvy users. Does anyone know of some stats that are more general in nature? They need to be credible. ...

Problem running my project in IE 6.0 and 7.0

I am using AJAX for my project. And the entire porject is working fine on all browsers except for internet explorer 6.0 and 7.0 too It is working fine on IE 8.0. Anyone has a suggestion, what i should be doing?? Regards Zeeshan ...

Are there any gotchas for the blackberry webapps that use cookies?

Hello, I know I am not giving many details... It is hard to get many details right now... but I am working on a web app, that has a login page, and stores if the user is logged in, in session data, that is linked to cookie data. It works on most devices and computers...but on the blackberries I have tried it on, it seems to lose the c...