firefox

How to load file from inside Firefox plugin

I'm working on a Firefox plugin which contains a file holding some HTML data. How do I load in this file as a string? I can do var contents = Components.utils.import("resource://stuff.html"); but that then tries to execute the XML file as Javascript. I just want its contents! ...

Remove outline from select box in FF

Is it possible to remove the dotted line surrounding a selected item in a select element? I have tried to add the outline property in CSS but it did not work, at least not in FF. <style> select { outline:none; } </style> ...

Strange gray thing appearing on screen in Firefox 3.6 for Mac with "overflow: auto" CSS

I am developing a site and I noticed a strange gray thing appearing on my screen. It only comes up in Firefox 3.6 for Mac, and not in any other browser I tested (IE on Windows, Firefox on Windows, Safari on Mac, Chrome on both Mac and Windows). After some investigation, I discovered that it comes up if I have an element with the "overflo...

Selenium can't launch firefox without sudo in Rails cucumber testing

I have a weird bug when trying to run selenium with cucumber testing in Rails 3. (This is under an RVM running 1.8.7) My colleague's dev environment works just fine but when I try and run "AUTOFEATURE=true autotest" or "rake features" I get the following error: unable to start Firefox cleanly, args: [] (Selenium::WebDriver::Error::WebD...

Text in HTML input on FireFox 3.5 remains at top when height set

We need bigger text inputs for our forms, so easy enough, we just set the height on them... But Firefox 3.5 then keeps the text at the top. How do I vertically center it? On Firefox 3.6, IE8, Chrome and Safari, the text is vertically centered as I hoped. <form> <input type="text" style="height: 50px"/> </form> How do I make the text...

How can this JavaScript snippet be improved?

Hi, This code (below) comes from an Open-source project (SemanticScuttle) I slightly modified the original code, attempting to convert a bookmarklet, into "web usable" Javascript. Current Status: Google Chrome = Works perfectly! Fiefox = Functional, but opens in a full sized tab, instead of the pre-defined size. IE = DOA = Not functi...

Getting started with Firefox API

Hi all, I'm working on an university project where I need to write a program that can access Firefox internal data & events to create stats about user actions. What I would like to have access to is: have access to HTTP and HTML data be able to listen to HTTP + HTML + Client side scripting events I've already done a bit a research ...

toolbar button not showing in the toolbar after installation firefox addon

Hi Experts, I used https://addons.mozilla.org/en-US/developers/tools/builder to build a simple test addon and "checked" Toolbar Button as a "Choose pre-built features" After installing this addon I am supposed to see a toolbar button in the firefox toolbar right ? Actually it is not happening. Instead if I go through View->Toolbar->cus...

SWF loaded twice in Firefox, workaround needed

I have the same problem as the following stackoverflow question: http://stackoverflow.com/questions/499949/flash-loads-twice-workaround but the provided solution is not working for me (my script runs after the DOM ready and a delay), is there any workaround to fix the Firefox bug which is fixed in the bugzilla but still exists? upda...

Silverlight in Safari and Firefox by default?

I'm curious, how does Microsoft plan to embed Silverlight into Safari and Firefox. Because if it doesn't come shipped with Safari and Firefox by default, why should anyone use it? They are counting on that the average user is installing it when he/she sees: "Silverlight need to be installed"? Maybe they won't install and just leave th...

What's a good Firefox extension for autopopulating forms while testing?

What's the best Firefox extension for auto-populating forms while testing? Preferably one which allows you to not collect data from certain sites ... I only want to use it while testing. ...

jquery GET request not working in IE and FF

Right now I have this GET request which works in Chrome but not in IE or FF. var dire = $(this).attr('dir'); if(dire == "ASC"){ var dp = "DESC"; } else if(dire == "DESC"){ var dp = "ASC"; } else{ var dp = "NA"; } $(this).attr('dir',dp); var col = $(this).attr('col'); $('#entries').fadeO...

jQuery: hidden visibility selector does not work in Firefox 3.6

<html> <script src="../jquery.js" type="text/javascript"></script> <body> </body> <script type="text/javascript"> $(":hidden").show(); </script> </html> Firefox 3.6 would show $(":hidden").show();, but IE 8.0 works fine. Is this a bug? PS: I'm using jquery 1.4.2. Thanks. ...

Flex/Flash white screen in FireFox

We get a white screen when loading our swf in FireFox. No problem in Chrome, IE and Safari. When we create a Flex project targeting SDK 3.2, things do work. Using 3.5, things don't work. Anyone that had similar problems? ...

Firefox jQuery console script that visits all links on a page

Hi Is it possible to write a jQuery scripts that visits all links on page from the console in firefox, so next time i visit the page they are all marked as visited? Chers! Johan ...

YouTube videos not playing in chromeless player in Flash using Zend_GData_Youtube class in PHP to pass results to flash (Works fine on Mac Safari??)

I have been noticing some strange (but consistent) behavior with the chromeless YouTube Player API. I have a Flash AS2 SWF that uses cueVideoById() to show the thumbnail images of videos which works great. When the thumb is clicked I call playVideo() to play the video. For some videos this loads the video and when I look at the traf...

Invalid label in mozilla firefox

hi I've a JSP page like this with name test.jsp <%@ page language="java" contentType="text/json; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <% response.setContentType("application/x-javascript"); %> {"feed": "test"} and an html page where i use jquery for reading the json object. <html> <head> <script type='text/j...

Libraries to Minimize differences between IE & Firefox

are there any libraries out there to minimize the differences of the behavior between IE and firefox... or there is someways to achieve that.... if not then what things in HTML & CSS & JavaScript & jQuery i should be looking put for that can cause cross browser compatibility issues... my concerns are Firefox and IE ...

Firefox Open a new tab instead of a pop window?

I found that in recent version of Firefox, there was add a setting called "Open new windows in a new tab instead". When I keep it on, all the pop windows(Using javascript "window.open" function opened) opened in a new tab, which I realy need opened in a pop window(With settings like "menubar=no" and etc.). Some normal links with "target...

How do I create a popup window when Firefox is not in focus

Is it possible to make a popup window actually pop "up" in Firefox when Firefox isn't the foreground window. Standard behavior is for the window to pop under when Firefox isn't in focus. If there is a way to use JavaScript to do this that would be best. But if not, I would also like any Firefox extensions or settings that would allow th...