firefox

Setting focus to an embedded Flash movie/HTML embed element using Javascript/jQuery

Is there a way to set focus to the embed HTML element using JavaScript? Test case: embedded YouTube videos on a page. I have no control over the embedded Flash element. So, is there a way to set focus on it by using only JavaScript? I read somewhere that calling the element.focus() method works only in IE. I need a browser-independent...

How to use a certain Firefox profile in Python Selenium binding?

Hello, I'm looking for a solution similar to presented in this question, except it has to deal with python. ...

how to delete cookies in firefox 3.5+ using an extension?

hi everyone. i've got a problem: i need my extension for firefox 3.5+ to delete cookies. all cookies of my firefox. example: i've serfed net, got some cookies installed on my pc by the sites i've visited. and i want my extension for ff to delete all these cookies. could u please show me the direction where i can find an answer for my que...

Detecting Firefox extension version.

I have a Firefox Extension that I would like to populate the About box with the version within install.rdf. I know that FUEL's extIExtension allows one to see the version for an extension but I did not create the extension using FUEL (and the docs on MDC seem very light on how to transition to it). Is there a way to dynamically check th...

Duplicate mousewheel events in Flash on XP Firefox

In Firefox 3, all the mouseWheel events in my haXe/Flash app are firing twice. This only seems to happen in the Windows version of Firefox; it doesn't happen in IE or Opera, and it doesn't happen in Linux. Is this a known issue, or could I be doing something wrong? Is there a workaround that doesn't involve something crazy like checki...

HTML CSS Padding-bottom 0 does not work on firefox

I have a table as follow: <table> <tr> <td> *PROBLEMATIC CELL* </td> <td rowspan="2"> </td> <td rowspan="3"> </td> </tr> <tr> <td> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table> The first cell of the first row, has a padding at the bottom. Well it's not really padding but it looks like padding and using firebug I can not fin...

Firefox setting to allow finding accented or other Unicode characters using a non-accented search term?

Howdy, I'm generating UTF-8 encoded web content that includes characters using diacritical marks, typically "accented" characters, e.g. "é". Firefox's Find (find in page) function requires that such characters be typed in order to find them, which makes sense, but makes for a usability problem. This is tricky for users who don't know ...

how can I override an anonymous javascript function attached to an eventlistener?

I found that a website does somewhat sneaky things. When you hover over a link, it shows you the real URL. WHen you click on it, it uses the click/mousedown event to rewrite the URL. I want to override that behaviour in firefox, So I fired up firebug to see what it does. On a mouse click, it executes a function called window.tgs. Easy,...

google chrome for mac positioning headache

i am using FF as the main testing platform and Chrome (for Mac) as the secondary. I just noticed that Chrome is showing ~20px off positioning for CSS. (just to be clear Chrome is showing the TEXTAREA ~20px down as compared to FF) Also Chrome is not obeying the width CSS property for TEXTAREA. Is it just me or everyone is having this pro...

How can I find the Firefox window from xwininfo?

Hello all, My Perl isn't very good at all and I am having trouble determining why this awesome perl script keeps returning: Error: No running window found Couldn't find window [Mozilla] in [xwininfo -tree -root] I have setup these variables: my $PROGNAME = $0; $PROGNAME =~ s|.*/||; my $GRAB = 'xwd -silent -nobdrs -id %id | co...

Dispatching 'mouseover' event on links in Firefox

I have been experimenting with dispatching events in Firefox and noticed that dispatching the mouseover event on a link does not cause its style to change to that defined in the :hover CSS class. Dispatching the 'click' event does change the link style to :active. Any reason for this behavior or I am doing something wrong in my code? va...

Change icon images for XUL textbox of type search

There's a search and close button images by default for a search textbox. How do I customize it? I would specifically like to change the X button (close) to the red X as you get on the tabs. ...

"SQLite Version Error"

Hello, I tried to run webrat tests in selenium mode, but I got the following error: dyld: Library not loaded: /usr/lib/libsqlite3.dylib Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides ver...

Firefox: BitmapData Handle?

Hello all, I have heard that it is possible to get a bitmap/image handle of the webpage being viewed on a firefox browser. I have been researching for a bit and couldn't not find anything. So I am hoping if anyone knows how to do this, preferable via the command line (bash, any other shell on Linux). To be honest, any browser that I c...

Select Item in ASP DropDownList: doesn't work in FireFox

This is so frustrating. I've done this a million times! For some reason, Firefox won't select an item in my drop down list. Why? (It works find in IE) ASPX PAGE <asp:DropDownList ID="ddlPlan" runat="server" CssClass="TDSelect" Width="250px" AutoPostBack="true" DataTextField="Plan_Name" DataValueField="Plan_ID" /> ASPX.VB CODE BEHIND ...

XSLT works in IE, not in Chrome or Firefox

Given a normal nhibernate config file: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="http://localhost/xmlStylesheets/nhibernate.xsl"?&gt; <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory> <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property...

How do I send a HEAD request manually using Firefox?

I'm debugging my webserver, and I'd like to manually send HEAD requests to some web pages. Is there a way to do this in Firefox? Some extension perhaps. I want to use firefox so that it can be part of a normal session (ie cookies set, logged in, etc). So things like curl aren't perfect. ...

How can I get my own cursor coordinates in Firefox?

I'm currently designing a website and just realized it would help me a lot if I would know my own cursor coordinates. I mostly use Firefox for previewing the new page. So an add-on for Firefox would be great. I checked out Firebug, but didn't find the feature there. Does anyone know how to show the current cursor coordinates in Firefo...

jQuery Carousel function issues

Hi there, Ive been writing a simple jquery function that turns a div with a list of images into a carousel. Here is the markup.. <div id="carousel"> <ul> <li><img src="images/music1.jpg" /></li> <li><img src="images/music2.jpg" /></li> <li><img src="images/music3.jpg" /></li> </ul> </div> and in my carousel.js file i hav...

Firefox not handling content type correctly when using IHttpHandler

Firefox is for some reason not properly handling content sent through my .NET HTTP handler; it appears to be not honoring the content type header. Rather, it sees the content as being HTML. The URL mapped to the request even has a .csv extension. Internet Explorer and Chrome are doing the right thing. The problem is happening for bot...