firefox

Rendering order in Firefox

I am building the diagram component in JS. It has two layers rendered separately: foreground and background. In order to determine the required size of the background: render the foreground measure the height of the result render the foreground and the background together In code it looks like this: var foreground = renderForegrou...

onmousemove in firefox

How do you implement onmousemove in firefox. I have it working in ie7 but no alert pops in firefox. Is is not supported or done differently? <esri:Map ID="Map1" runat="server" MapResourceManager="MapResourceManager1" Height="100%" Width="100%" VirtualDirectory="" PrimaryMapResource="ESRI_Image...

Javascript memory profiler for Firefox

Is there a tool/plugin/function for Firefox that'll dump out a memory usage of Javascript objects that you create in a page/script? I know about Firebug's profiler but I'd like something more than just times. Something akin to what Yourkit has for Java profiling of memory usage. Reason is that a co-worker is using id's for "keys" in a...

Div 100% height works on Firefox but not in IE. What to do?

I have a container div that holds two internal divs; both should take 100% width and 100% height within the container. I set both internal divs to 100% height. That works fine in Firefox, however in IE the divs do not stretch to 100% height but only the height of the text inside them. The following is a simplified version of my style s...

How can I create a Firebug-like bottom window Firefox extension

Several extensions offer a "bottom window" for viewing their content. Firebug and ScribeFire are good examples where the main content appears at the bottom of the browser. This appears to be very similar to the sidebar functionality in the browser. Is there a best practice/method to create a bottom window in an extension, since there ...

Dynamically sizing tab made of images.

I'm trying add a tab to my web page that looks like this: Using this example as a basis, I've gotten it partially working. My case differs because I want the text section to be a fixed with, but the tail section to dynamically resize to take up the rest of the tab's container. It looks good in IE 6, but doesn't really take up the ful...

Firefox cuts files, whose name contains spaces, in a Struts application

I am using the next class (simplified for the sake of understandability) to download images in a struts web application. It is working fine in every browser but firefox, which cuts names containing spaces. That it is to say: file with spaces.pdf gets downloaded in firefox as: file while in chrome, IE7 IE6 is downloaded as file with spac...

Why doesn't Visual Studio always render my page correctly when debugging locally in fire fox 2.0x?

When I debug locally in fire fox 2.0x many times my page won't have the styles added properly or the page will not completely render (the end is seemingly cut off). Sometimes it takes multiple refreshes or shift-refreshes to fix this. Is this a common issue or is it just me? Any solutions? I want to add that this is happening in fire fo...

window.resizeTo affects subsequent Firefox windows

I have a webapp which resizes its window to exactly fit its contents: window.resizeTo(200,300) People do like having the page fit its window in this way. However with Firefox the next browser window the user opens comes up at the same size, which is ridiculously small. Is there a way to tell Firefox to resize the current window, but ...

How Do I Detect the Adobe Acrobat Version Installed in Firefox via JavaScript

Title says it all. I know this can be done in IE by creating an ActiveX object, but how do I do it in FF. The navigator.plugins['Adobe Acrobat'] object lets me know if it's installed or not, but it doesn't contain the version number. Any ideas? ...

Have you noticed stray hits to your web pages that have no parameters?

We have a web application that passes parameters in the url along the lines of this: www.example.com/ViewCustomer?customer=3945 Reasonably often, we will see attempts to access just: www.example.com/ViewCustomer Or system logs this as invalid and sends back a "An error has occurred, contact support with trace number XXX" type page....

Firefox Links to local or network pages do not work

I have a .asp application where image files (.PDF) are stored in a directory (fed by a copier/scanner). The created filenames are stored in a database table, When a query is launched from the web page a link to the file is created. When clicked the image should be displayed. This functionality works 100% in Internet Explorer. No suck lu...

Firefox 'Error loading script' loading Google Analytics in FF2

The project I'm working on uses a window.onerror event handler to report user problems. I've noticed a single user that just cannot seem to load the Google Analytics script. Our site doesn't see a lot of traffic so I'm not sure how widespread this is, but so far it seems to just effect one user. His user agent is: "Mozilla/5.0 (Wind...

ZeroConf extension that can be used in Firefox/XULRunner?

Is there a ZeroConf client extension for Firefox/XULRunner to be used in a zeroConf environment based on either mDNS or SLP? I know of an extension already that's being developed by the ActiveState Open Komodo folks but it requires PyXPCOM support to be baked into the XULRunner runtime in order to access the Apple Bonjour libs for Windo...

Possible to export FireFox extensions and settings?

Want my FireFox at work to be in sync with my FireFox at my home. Is there a way to simply export all extensions and settings? ...

XUL - sidebar buttons that load new pages in main browser window.

I'm learning how to make a firefox extension. I have created a xul and overlay file that makes a sidebar in my browser. I'm trying to put buttons in my sidebar that load different pages within the main browser window. I'm not sure how to access the main browser window and load a new url within it. I have here a simple button and script t...

Style sheet images aren't reloaded by Firefox or Safari

We have found out that Firefox (at least v3) and Safari don't properly cache images referenced from a css file. The images are cached, but they are never refreshed, even if you change them on the server. Once Firefox has the image in the cache, it will never check if it has changed. Our css file looks like this: div#news { background...

How do I find out the browser's proxy settings?

I am writing a command-line tool for Windows that uses libcurl to download files from the internet. Obviously, the downloading doesn't work when the user is behind a proxy server, because the proxy needs to be configured. I want to keep my tool as simple as possible however, and not have to burden the user with having to configure the p...

XMLSocket working in firefox but not IE

I'm helping a customer who has a problem with a flash app. The flash app uses an XMLSocket to connect to a service running on localhost. It works fine under firefox. It uses the following line to setup the security policy: System.security.loadPolicyFile("xmlsocket://localhost:10032"); Running the flash app under firefox, the service ...

In ASP.NET is there a different way that a file must be transmitted in Firefox?

I am using ASP.NET to transmit a .jar file. This code works perfectly on IE. However on Firefox the file downloads, corrupt. What is the best way to fix it? Below is the code I am using. private void TransferFile() { try { string filePath = Server.MapPath("SomeJarFIle.jar"); FileInfo file = new FileInfo(file...