firefox

When does firefox call nss_init?

I have my very own privacy CA library. So now I want to integrate it with the mozilla nss. So every time when my firefox want to access https page, it will call this library via nss. my problem is, i could not find, at with point (or with source file) within firefox that make a call for nss_init stuff.. help me ...

Firefox does not preserve custom headers during Ajax request redirect: an ASP.NET MVC solution

I use ajaxForm with jQuery, and there's one problem with Firefox - for some reason it does not preserve X-Requested-With custom header (which is used to detect IsAjaxRequest()). This leads to my controller action returning full view instead of partial since IsAjasxRequest() returns false after redirect. This bug only happens in Firefox,...

onchange event never happens on IE while ok with firefox

Hello It might be a beginner question but I can't understand why the onchange event is never called by IE while it works Ok with firefox. <input type="text" id="mytext" size="48" value="" onchange="execute()"/> <button type="button" onclick="execute()">Go</button> The execute function is called when the button is clicked but not when...

jQuery works in Firefox when Firebug is running, does not work when Firebug is NOT running

I have the following Javascript libraries loaded for my page. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; <script type="text/javascript" src="http://cdn.jquerytools.org/1.1.2/jquery.tools.min.js"&gt;&lt;/script&gt; <script type="text/javascript" src="./js/jquery...

Seeing duplicate http requests in server logs

Hi, I have started a small django application in my machine. When i have seen the request logs I figured out that It is actually logging the same requests twice. After a little investigation, I disabled all of my add-ons in my browser and tried. To my surprise i din't see duplicate requests in logs After that. After some trials I foun...

Creating a Firefox extension to edit "network.automatic-ntlm-auth.trusted-uris"

On the sharepoint site we're developing at work, people are able to log into the site using IE 7, but when prompted for the username and password on firefox 3, it doesn't matter how many times you try to log on, the username/pass window keeps popping up. If you click cancel it denies you access into the site. We've tried to fix the issue...

Difference in jQuery with XML namespace and xhr.responseXML between Opera and Firefox

Consider this: <!DOCTYPE HTML> <html><head><title>XML-problem</title> <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { $('<p/>').load("text.xml", function(responseText, textStatus, xhr) { var xml = $(xhr.responseXML); var x_txt = xml.find('atom\\:x')...

Firefox (Gecko) code - interrogating the cache - how do I get a list of devices?

Referring to nsICacheService (https://developer.mozilla.org/en/NsICacheService) and nsICacheVisitor (https://developer.mozilla.org/en/nsICacheVisitor): Where do I get an instance of nsICacheVisitor? Where do I get a list of devices so that I can call visitEntry() and visitDevice()? ...

Removing Firefox Star Icon and Bookmark Icon

I am building an application which has requirements stating that all browser features must be disabled. (It's a test taking application and they are worried about security/cheating.) I popup a new window so that I can make it fullscreen, disable the menu bar, tool bar etc. However Firefox still has two icons remaining that I can't figur...

Temporary Storage in FireFox Extension

I've developed an extension that creates alot* of data during a browsing session. Think, 2 to 3 times the total HTTP traffic (images, HTML, etc.). Currently I'm just stashing all of this in a Javascript variable, but this obviously isn't tenable if the extension is going to get any serious usage. So, the question is, where should I st...

Is there a 0-width way to prevent floated divs from collapsing

First, this issue is not about block elements collapsing when their children are floated. In fact the issue has nothing to do with clearing at all. The issue is this. Suppose I have a series of floated divs like: <div class="column">Column 1</div> <div class="column"></div> <div class="column">Column 3</div> With css: div.column {...

open a window from a existing page in firefox gives me security error

Hi, i am developing a firefox extension, On a client side of a web page i add a link and on clicking the link i intend to open a window where it will allow the user to type in text. when i click the link, it opens the window but it won't allow me to write to it. e.g. ww.document.write('<div id = "textDiv">') ; here it gives me an erro...

Flex-iframe: problems in FF

I'm using http://code.google.com/p/flex-iframe/ for showing wikicontent in a flex app. <?xml version="1.0"?> <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" title="Hjälp" showCloseButton="true" close="close();" styleName="Popup" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" w...

Strange Firefox HTML form loading issue

Its strange but when I add a form to my page, firefox seems to load the whole page first, then apply the style only after the page is fully loaded. This behaviour is only in FireFox, and not in IE. And only happens when I include a form. Any ideas how to fix it? this is the simplified document. <!DOCTYPE html PUBLIC "-//W3C//DTD...

Display caret position in textfield in Firefox or resize textfield as needed.

There is an annoying bug in Firefox which allows me to set the caret position in a textfield, but it does not automatically scroll that caret into view. My particular issue arises when using the jQuery Masked Input Plugin (http://digitalbush.com/projects/masked-input-plugin/) If the width of the textfield is less than the width of the ...

Is there a simple way to clear the cache/cookies *JUST* for a specific website in Firefox?

It would be extremely useful for web development. ...

How can I get Ajax and client side validators working with my ASP.Net 1.1 application in Firefox?

Ok, long story short - I've got an ASP.Net 1.1 website, which uses Validator controls and Ajax (ajax.dll, v5.7.22.2)... All of these elements of the site were chosen/implemented before I got here, and before anybody asks, no, it's not within our budget (timewise) to upgrade even to ASP.Net 2.0, let alone the latest and greatest of everyt...

jquery ie7 css height inconsistent result compared to firefox

var heightOfDIV = $thisElement.css('height'); alert(heightOfDIV); The above works as I expected it to work when I am using Firefox. It returns me the div element that triggers the above code. I get the height as 393px. however in IE7, i get auto. This is causing me issues. By the way, the above code is run in the afterExpand($thisE...

Setting the height of a SELECT in FIREFOX 2

Hi, I have a weird problem with HTML select box height in Firefox 2, here's the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>FIREFOX 2 SELECT BOX HEIGHT ISSUE</titl...

Get Application Installation Directory

I'm using some custom actions to install plugins into Firefox in an Installer project. Quickest path to ground thus far has been to use VBScript. Currently, I've been assuming the FireFox installation directory is "%PROGRAMFILES%/Mozilla Firefox". Obviously, this needs to change to cope with people doing non-standard installs. So, th...