firefox

div positioning problem

In FireFox 3.5, the following div does not push the page content down. Rather, it overlaps. IE 8 does not. What can I do as a quick fix? <div style="position:fixed;top:0;width:100%;">blah blah</div> ...

Selective caching in firefox

Is there a plugin or method for performing selective caching in firefox? I can disable caching entirely, but I'd like to be able to still cache some large javascript libraries (extjs) which take several seconds to load. ...

Install Firefox extension using windows registry

I have followed the instructions here [MDC - Adding Extensions using the Windows Registry], but haven't been able to get Firefox to automatically install my extension when I restart it. I have written an application that is half windows service and half FF extension. I have built an installer and want it to be able to install the Firef...

How I can make a table be 100% height in Mozilla browsers?

hi friends, Can someone tell me how I can make a table be 100% height in Mozilla browsers? this is the html code <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <table cellpadding="0" cellspacing="0" width="177" height ="100%"> <tr> <td height=...

jQuery clone(): Is this a bug with firefox or I am missing something

I have a problem with this jQuery code: $(document).ready( function(){ alert($('#search').val()); var dummyInput = $('#search').clone() .attr('id', 'search_watermark') .val('Search query') $('#search').before(dummyInput); } ); $(window).unload(function(){ $('#search_watermark').remove(); }); and the H...

Firefox extension to create a new icon or replace existing icon in the location/address bar

I want to create a Firefox extension that creates a new icon in the address bar or replaces the existing one with the one specified in the extension. And then, add some javascript to display this custom logo only when the user is viewing a particular domain. If this is not doable for the location/address bar, displaying the logo on the...

Uniquely identify one computer

I work for a university, and i'm implementing a PHP web app that needs to have different behavior when it is visited from one certain computer. The problem i am running into is that from the webserver, using $_SERVER['REMOTE_ADDR'] and gethostbyaddr(), i can only identify the router that a computer is going through, and not a specific c...

Client Certificates and FireFox

Hi folks, I need some help to understand what is happening with my web application. I have a simple web app (c# .Net 2.0) that uses a smartcard authentication. In my testing box (win 2k3 32 bits, iis6) everything works fine but in my production box (win2k3 64 bits, iis6) firefox is unable to send the certificate, hosted in the card, to...

Why are IE and Firefox returning different overflow dimensions for a div?

I have a div with a fixed size of 100px. scrollWidth and scrollHeight works fine if the text in the div is normal (no word is long enough to fill the one row entirely). However, if there is any text with one word rendering wider than the 100px it will cause a problem. Let's say the text is like "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890": t...

Firefox extension to modify HTML

I want to create a Firefox extension that creates a toolbar button with 2 options - on and off. When On is selected, I want to check if the user is on a specific domain(s) (e.g. www.xyz.com/page1.html) and if he is, I want to edit html of that page and add insert a Javascript entry in that page. I also want to change all the textarea ta...

Missing image cross and border in Internet Explorer

In cases where the missing image (broken link to image) is placed for internet explorer it shows a cross and border. Can we remove that cross and the border for broken images? See below for how it looks on firefox We need to get rid of the border and cross for broken image. Can this be fixed by CSS? ...

Word wrap in Firefox 2.0

Word-wrap is not working in FF 2.0. I know FF above 2.0 supports this word-wrap. But I want to know is there any alternatives do fix this issue for FF2.0. It works fine with all IE versions. .wrapgridtext { word-break : break-all; max-width : 0; word-wrap: break-word; } this class is applied to the "td" in a table where ...

Flash wmode="transparent" shows weird colors and outlines in Firefox

Maybe it was a recent FF update, but at the end of this flash intro, lots of random red and green colors show up. http://incitoconsultants.com/test/index.php ...

Loaded data truncated when using nsIFileInputStream & nsIConverterInputStream

I'm working on a project (BrowserIO - go to browserio dot googlecode dot com if you want to check out the code and work on it. Help welcome!) in which I'm using Firefox's nsIFileInputStream in tandem with nsIConverterInputStream, per their example (https://developer.mozilla.org/en/Code%5Fsnippets/File%5FI%2F%2FO#Simple), but only a port...

Known "position:relative" issues in Firefox 2.x?

Virgin post. Are there any known issues with how FF2/Windows handles div's positioned relative? IEx / Chrome on Windows, FF3x / Safari 4x on Mac are rendering fine. and I would think IE for sure would have barked at me if the coding was incorrect. <!--example--> #parent_div {width:200px; height:100px; position:relative;} #child_div {...

css issue on firefox, border not show correctly

Hi, i got an issue on firefox, while all IE, Safari and chrome are working. <div class="forDiv">ddd</div> <table class="forTable"> .... </table> .forDiv { width:100%; border:3px solid #236FBD; background-color: #236FBD; } .forTable{ width:100%; border:3px solid #236FBD; background-color: #236FBD; } in firefox, the div is a bit smal...

Catching close tab event in a firefox extension.

Hi, i'm writing a extension, which needs to call some JS from the current tab/document when user closes this tab (some saving etc). document.onbeforeunload doesn't do it for me, because it's also called when the page is reloaded. I'm looking for something like tryToClose but for tabs. ...

Time since last user actitivty in firefox

I'm currently developing a firefox extension which checks some server side XML-File on a regular basis (every 2 minutes). I want to add the following feature: Whenever the user is inactive for X minutes the check interval is extended by a multiplicatior of Y until a limit of Z is reached. In order to do so, I need the inactivity time. I...

Building firefox error: c compiler cannot create executables

I'm trying to build firefox but I'm having some problems. I currently have Visual Studio 2008 Team Suite (trial if that matters). My mozconfig file: # Firefox ac_add_options --enable-application=browser mk_add_options MOZ_OBJDIR=/c/mozilla-build/mozilla-central/objdir-ff-release mk_add_options MOZ_MAKE_FLAGS="-j4" # Java XCOM ac_add_o...

Using <meta> tags to turn off caching in all browsers?

I read that when you don't have access to the web server's headers you can turn off the cache using: <meta http-equiv="Cache-Control" content="no-store" /> But I also read that this doesn't work in some versions of IE. Are there any set of <meta> tags that will turn off cache in all browsers? ...