browser

Alternative methods for creating dynamic JavaScript?

Background I am working on a project that runs in an embedded web browser in a small device with limited resources. The browser itself is a bit dated and has limits to its capabilities (HTML 4.01†, W3C DOM Level 2†, JavaScript 1.4). I have no documentation on the browser, so what I do know comes from trial and error. The point is t...

Can I add an if statement for mozilla firefox stylesheet?

Hi I'm editing a website that has been made compatable with internet explorer so it doesn't work in firefox. Is there any way to add a firefox or mozilla stylesheet? Thanks for you help Judi <!--[if FIREFOX]> <link rel="stylesheet" type="text/css" href="/AEBP_Homepage_12887/css/firefox.css" /> <![endif]--> ...

Force browser to clear cache

Is there a way I can put some code on my page so when someone visits a site, it clears the browser cache, so they can view the changes? Languages used: ASP.NET, VB.NET, and of course html, css, and jquery. ...

Working arround font rendering issues in all major browsers

Hello everybody. Since long time i been having a real problem with the different ways that each browser display text. Sure you have noticed that even when you create a stylesheet specifying everything about the font properties, still every browser display the same text with some differences, the usual problem is the font weight, that e...

Strategy to start supporting other browsers

We have a web application that only supports IE6 and above. It is an old application and majority of the user base was using IE. At the time of development no one paid attention to cross-browser support. If you open the site in Firefox, the UI is all skewed. We are planning to start supporting Firefox now. What is the strategy we should ...

Is there a size limit to the amount of data returned by an Ajax Request?

I've been having this problem in the Chrome browser. i use jquery's ajax post. Ajax is supposed to return a really long raw html. When I do it in FF3 and IE8 it works fine. But in chrome the data seems to be truncated. ...

CSS dropdown navigation cut-off

I'm running into a problem with the footer navigation on a site which has a drop-"up" menu that is cut off by another div. I've set overflow: visible for all applicable divs in the footer & set z-indexes for correct content stacking, but to no avail. I've started to run out of potential solutions. Can anyone help me resolve this? I...

How to disable the autofill in browser text inputs selectively via code?

Is it possible to selectively disable the autofill feature in text fields using code? I'm developing my custom code in ASP.Net AJAX to search for the suggestion in the database and I would like to prevent the browser suggestions from appearing when the user starts typing in the textbox. I'm looking for a solution that works in the most...

how do I make a Flash browser app that could receive data from browser plugin or other Windows app?

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and pre...

How to remove the browser cache?

I have one image website where users can vote images. IMAGES ARE RANDOMLY GENERATED ON FIRST PAGE! Once they vote they're redirected using window.location to the image details page. If they click back they will see the same image...from the browser cache..and they can vote it unlimited times.... How to I remove the cache? I want the fir...

Generating async Javascript events from browser plugin (NPAPI)

Hi! I'm writing a web browser plugin (NPAPI.) My plugin starts a worker thread, and as the worker progresses, I'd like to pass events back to Javascript. But because of the NPAPI threading model, it's not legal for the worker thread to call back into NPAPI directly, so the worker thread can't invoke Javascript. One solution to this is ...

A good alernative to WebBrowser component?

I know that there is a WebBrowser component which is basically Internet Explorer but I'm highly dissatisfied with the amount of features it has + Internet Explorer's layout engine is terrible. Is there a better alternative to that? Something like a "Gecko" or a "Webkit" browser? I tried "Skybound Gecko" but I'm sure there are some bette...

Edit existing browser window DOM

(Note: This question is for an internal-use-only project, so some of the usual security concerns don't apply.) I'm trying to find some way to insert HTML/Javascript into a pre-existing IE7 browser window. Basically, we are using a web-based support ticket system, and I am inserting code into the page to add links and lists and such, to ...

Browser cache behaviour for redirects

I'm trying to figure out if redirecting all www.example.com requests to example.com will be beneficial for caching or not, to which end I have 2 questions. SEO is not an issue here. If the browser requests an image from the www URL (#1) and gets HTTP redirected to the www-less version (#2), will it store the result as cache value for j...

window.location problem

Hi, I am facing on strange problem in ie6. When i am using window.location to redirect page through javascript it works fine in all browser except ie6. It works in ie 6 if i place just like below: <a href="javascript:void(0);" onclick="javascript:window.location('http://www.demo.com');"&gt;demo&lt;/a&gt; but its not working for bel...

Browser Print Generation

Hello All, I use: window.print(); to print documents. Problem: As you guys know that browsers automatically adds page's title, path on top of the print page and page number and date on footer of the page. But the client has asked me to remove all those things from the page or change their color to white so that they are not visibl...

html page alignment issue

Hello everyone, I am developing an html page on Windows platform. I find when the resolution (or size, in pixels) of browser (display) is larger than the page size, the page will be aligned to the left of the browser, and I want to align the page to the center (middle) of the browser when the page size is smaller than browser. Any idea...

How Big a Security Risk are Browser Extensions?

One of the more powerful features of modern day browsers is the ability for software developers to write browser extensions to enhance, modify and tweak the pages visited by the user. As more of our lives migrate onto the browser, aren't we potentially exposing ourselves to a massive privacy and security holes created by the installatio...

Detecting IE using jQuery

$(window).load(function () { if($.browser.msie && $.browser.version=="6.0") { // do stuff } }); Just realized that $.browser has been depreciated in 1.3. What is the new method for detecting IE, specially IE6. ...

Posixy way to launch browser?

Is there a 'Posixy' way to open an URL, preferrably in the default browser? I would like to do something like ShellExecute(0, _T("open"), url, 0, 0, SW_SHOWDEFAULT); that works on GNU/Linux and MAC. I read some answer saying that` if (fork() == 0) system("sensible-browser http://wherever.com"); does the trick on Debian systems ...