browser

Reading cookies from default browser in C++

Hello, I want to create a c++ application that works together with a website. In order to keep the application synchronized with the website I want to be able to read some cookies from the user's default browser. Is there any way to do this? ...

WPF WBA (XBAP) versus Silverlight

I'm looking into creating a system / site which includes a website. I would like to get the benefits of WPF, and WBA seems to be a good avenue of doing this. Silverlight on the other hand is also good for accomplishing this goal, with the difference that WBA provides more options and power than Silverlight. What are the benefits / losse...

jQuery: hoverIntent and graphical effects -> drastic browser performance

I am working on a webpage that has a main menu, and a submenu that will hold different content for every button in the main menu. To keep the submenu open while hovering over it, I am using a combination of hoverIntent, hover, and a state variable: $.hovering: $(function() { $.hovering = false; $("div.button").hoverIntent( fun...

Alternative "html" interface for Ajax based web apps

in Ajax based web apps , Is it mandatory to provide an alternative "html" interface for those who don't have javascript enabled & slow connections? for example Google Mail provides both Ajax & plain HTML Application but Microsoft SharePoint doesn't . do we have to care about them (disabled javascript/slow connections) or not? ...

How to display html in a java application?

Hi, Now I am working on implementing a browser in Java. I need to display the contents of a website (provided a url-address) inside a JFrame window. Is there a simple way of doing that? I tried JEditorPane, but it only supports HTML 3.2, so the contents of the website looks very weird. Thanks ...

Forcing page refresh on click of back button

I've 2 asp.net pages..page A and page B. On clicking a link on page A, user gets redirected to page B.When on page B, if user clicks browser's back button,I need to forcefully invoke page refresh of page A. How do i achieve this functionality? Note:Code needs to be compatible across different browsers...ie IE, firefox, opera, etc Thank...

Manipulate the session history with JavaScript

I need to delete the latest browser history entry for this reason, but any other functions exposed by JS that manipulate (add/remove) history entries for the current page/tab, are also welcome. ...

IE Pdf File download status

Hi, is anyone able to tel me how to detect when adcrobat reader has finished downloading a file in IE? I have written a IE band object that reacts to a PDF file in the browser window but this requires the PDF file to be fully downloaded before it will work properly. Is there a way to get the download status from IE / Acrobat? Thanks. ...

How do I detect if a user has got to a page using the back button?

This question is similar to http://stackoverflow.com/questions/55871/track-when-user-hits-back-button-on-the-browser, but not the same... I have a solution and am posting it here for reference and feedback. If anyone has any better options, I'm all ears! The situation is that I have a page with an "in place edit", a la flickr. I.e. t...

cross-browser sidebar component

I want to create a cross-browser sidebar for a website. With the following features needs to be able to grab URL of main page - ok if only works for the current site hosted on the main website domain require no change to the main website pages themselves (but code could in added to a globally loaded .js file) work in major browsers (eg...

processing json objects in jsp

i have a JSON object sent from the browser to the jsp page. how do i receive that object and process it in jsp. do i need any specific parsers? i have used the following piece of code. but it wouldnt work. essentially i should read the contents of the object and print them in the jsp. <%@page language="java" import="jso.JSONObject"%> ...

How do I set X-UA-Compatible header to IE=EmulateIE7 for IE 8 browsers using Apache 2.0?

I am able to set this header X-UA-Compatible "IE=EmulateIE7" using the following directive in my Apache 2.0 httpd.conf file: <Location /mypath> Header set X-UA-Compatible "IE=EmulateIE7" </Location> How can I configure Apache to only set this header for IE 8 browsers? ...

CSS Sprites browser rendering

We all know that CSS sprite images are great to reduce the amount of requests and such, but what about the performance of the browser rendering the page with several elements using a big image as a background? ...

How do I disable dictionary lookup in web browser input field?

When the user enters a date, it is underlined in red (because it's not in a dictionary somewhere). This is certainly an issue in FF, probably most browsers. Is there a way to flag an input field as "don't expect English words here?" ...

Disable Page Cache to force page load with browser back button

I have an asp.net website that is using update panels on the page that i cant get to reload from the server. I have this for the disable page cache on the master page. 'Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1)) 'Response.Cache.SetValidUntilExpires(False) 'Response.Cache.SetRevalidation(HttpCacheRevalidation.All...

How to detect browser's protocol handlers?

I have created a custom URL protocol handler. http:// mailto:// custom:// I have registered a WinForms application to respond accordingly. This all works great. But I would like to be able to gracefully handle the case where the user doesn't have the custom URL protocol handler installed, yet. In order to be able to do this I need ...

Why does google.com look different on blackberry & phonegap vs. blackberry & browser

I'm tyring to get phonegap up and running on blackberry storm (9530 simulator). I had been testing my webapp from withing BB's built in browser, and it was looking ok, but then it totally bit once I tried to look at the some code from within phonegap, even though I was pointing phonegap to the same url (I hadn't yet gotten to the point ...

Jquery Change Height based on Browser Size/Resize

Hi all, I was wondering if there was a way to determine the height/width of a browser. What i'm trying to do is set a height on a div to 500px when the browser size is 1024x768, and for anything lower i'd like to set it to 400px. Thanks in advance ...

Why does an element styled with "height: 100%" appears to be > 100%?

I have a page where while the page loads, I put an absolute DIV over all of my content with "height:100%" that states "the page is loading...". However, it appears from the scrollbar that the height of the page is 100% + the height of the content. This immediately goes away once the page loads and the overlay absolute positioned DIV is...

How To Improve Browser Detection with Request.Context.Browser Object?

I'm using an HTTP handler in .NET 2.0 and need to detect browser and version. How do I implement Ocean's Browsercaps in .NET 2.0? ...