firefox

Space above inline element in Firefox

If I use an inline element in Firefox and put a background color on it, the element appears to have a 1px margin across the top. This doesn't happen in IE8, Safari 4 or Chrome 2. They show the element flush with whatever is above it. I've tried Firefox 3 and 3.5 with the same results. Using display:inline-block; will fix the problem ...

Silverlight module doesnt load with firefox (ASP.NET tag)

I am using IE and firefox, this is the default statement that was created using a default asp.net tag. This works perfectly fine with IE but with firefox, nothing is rendered. <%@ Page Title="" Language="C#" MasterPageFile="~/Core.Master" AutoEventWireup="true" CodeBehind="photoalbum.aspx.cs" Inherits="mkuk.photoalbum" %> <%@ Regi...

Javascript popup window doesn't gain focus after first load in Firefox

Hi, Easiest way to explain should be this example http://www.massimofidanza.it/firefox . This works correctly (popup is focussed again) only on IE. Is there any workaround (without closing and opening a new popup)? update: option for javascript to raise popup windows is enabled. ...

Radiobuttonlist changes index on firefox reload

Hi I've an asp page with a DevExpress AspRadioButtonList. On Page_Load the SelectedIndex is set, based on a property variable. On ClientSideEvents SelectedIndexChange some info is changed. All works as it's suppoused to up to this point. In firefox, if a reload it's triggered, selected radio button circles throught all values. Any one...

Loading of pages in IE very slow compared to other browsers

When I load the frontpage of the website I work for in IE it takes about 7 or 8 seconds to load fully (meaning, the "Waiting for" and "(x items remaining)" disappear and change to "Done". The exact same page takes about half the time in Firefox and Google Chrome, and I just can't figure out what's causing the difference. Is this just g...

Debugging autoproxy (PAC) javascript with alert()?

I am writing a custom .pac script for use with Firefox. Following numerous examples I've seen, I intersperse alert()s in order to debug it, but no alerts popup, even though the script is clearly being invoked. (I am clicking "Reload" in the "Connection settings" after each change to my script. I have even tried restarting Firefox.) Are ...

XUL - Access to image information

Hello All, I trying to figure out how to write a Firefox extension that would give image information when i right-click on the image. Basically, I want image path when user right-clicks on the image. Any help would be greatly appreciated. Thanks. ...

Firefox plugin that ask for some input at startup

I would like to know how to implement a dialog that show up when you first start Firefox to ask the user to enter some input. This input will be stored somewhere temporarily, and should be used later on by the plugin when required. I have full understand of how to implement firefox plugin (this includes understanding of XUL and Javascrip...

Firefox Error: Permission Denied to get Window.Document

I have a standard 3-frame layout; "fnav" on the left, "fheader" at the top and "fcontent" below the header. All files are located locally on the hard drive. This is the JS function that is throwing the error: function writeHeaderFrame() { try { var headerFrame = window.top.frames['fheader']; var headerTable = docu...

Firefox 1 pixel bug with border-collapse, workaround?

Is there any workaround for the following "1 pixel to the left" bug? <!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"> <body> <div style="padding: 50px"> <div styl...

How can I update the status messages in Firefox from any thread?

I encountered a problem with updating the status message on Firefox from a Plugin code. As the documentation says calling NPN_Status works only when called from the main thread. My requirement is to update the status from any thread within the Firefox process. Any help would be appreciated! ...

Opening a xul file in response to a toolbar extension button click

I'm currently building my first Firefox extension, and am having a little difficulty with one piece of functionality. I'd like to open a new browser tab in response to a button click on the toolbar. The new tab should contain the contents of a webpage, together with some extra buttons. At the moment I've created a separate xul file for ...

FF displaying unwanted border

i have a div element that is appearing fine in Chrome but Firefox for some reason has decided to put a border around it. let me share the CSS here: #cpanel { width: 320px; height: 75px; position: absolute; //left: 28%; //top: 32%; z-index: 9996; //visibility: hidden; display:none; } .box { z-index:99...

JavaScript error on FireFox ns_error_dom_security_err

I am getting the following error in FireFox only: Error: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: ""] I know it has to do with calling CSS from another domain but I can't find any references to any domains! How do I debug this? Thanks! Greg Wilson PS: If this is a...

XUL - textbox problem

I am writing a Firefox extension. When a user highlights and right clicks a selected text on a webpage, the extension captures the text and displays it in a textbox (xul window). The textbox shows the correct formating (like the line breaks, spaces, * for li tags.). But the problem happens when i try to store the textbox value in a varia...

Dynamically altering Silverlight control width/height does not work in Firefox

I have a Silverlight control that auto resizes based on its content as well as when the browser window is resized. You can see it working in IE at http://www.scottmarlowe.com (it's the tag cloud on the right). I know you have to define the height style to 100% in FF just to get the control to display. It seems that setting the width an...

Firefox: Get mouse coordinates of top-left corner of viewport

Good day everyone. I am working on a Firefox extension, and I want to pop up a tooltip at a certain offset from the mouse cursor. However, the problem comes when this offset is out of the viewport. It gets displayed but the user will have to scroll over there. I hope to enhance this by moving the tooltip pop-up within the current viewpo...

nsIProtocolHandler: trouble loading image for html page

I'm building an nsIProtocolHandler implementation in Delphi. (more here) And it's working already. Data the module builds gets streamed over an nsIInputStream. I've got all the nsIRequest, nsIChannel and nsIHttpChannel methods and properties working. I've started testing and I run into something strange. I have a page "a.html" with this...

Firefox 3: Enable AJAX to localhost from outside domain

Hello, I am running a HTTP server on my development machine. I have a website, on some web server on the Internet. How can I get Firefox to allow communication from this website to localhost temporarily while I develop? Thanks, Isaac Waller ...

getAttribute in Firefox 3.5 and IE8 doesn't work how it used to.

I am creating a javascript function that would find an anchor in a page (specifically with , not an id) and then iterate through the parents of it until it reached one that contains a certain class. I used the following code and it works fine in Firefox 3.0 but fails at getAttribute in both Firefox 3.5 and Internet Explorer 8. var tab =...