firefox

HTML 5 audio tags not appearing in GreaseMonkey

I'm working on my first GM script, to replace the Flash previews on http://www.freesound.org with HTML 5 audio tags, and to add a download link to search results. I have the latter working fine, but I can't get the audio tag to display in Firefox 3.5.9. Here's my script: // ==UserScript== // @name FreeSound HTML 5 Preview // @...

Firefox SVG: Clip

I'm trying to delete the corners of an img element: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg"&gt; <body> <style type="text/css"> #div { background: #ffffff; width: 500px; height: 300px; padding: 10px; } #div img { background: #000000; } </style> <div id="div"><img src="http://maps.google.com...

Check if there are opened menus and popups

Hi. I'm developing firefox extension, and I have a button, which shows <panel> using openPopup method when users moves mouse over button, and close it after few seconds user moves mouse out. The problem appears if a firefox menu is opened, or context menu, or any toolbarbutton with type="menu" are opened. Then if users moves mouse over ...

Firefox 3.6.8 doesn't work with an anchor, it rolls down to the page's bottom

Dear All! There is an anchor in one of my websites. http://www.autostitkok.hu/tozsde3.html#jelentkezes Firefox 3.6.8 doesn't "stop" at the anchor if I use an anchored link, but rolls down to the bottom of the page. If I click into the address bar of the browser, and hit enter, the browser jumps to the right place, but obviously this ...

Issue with onbeforeunload event handling in firefox

Hi, The following piece of code alerts the mouse position in IE , but in Firefox and other browsers, it alerts "undefined". <body onbeforeunload="test(event);"> function test(e){ if (!e) var e = window.event; alert(e.clientX); } The above code is to get the mouse position when the browser window is closed.Please advise ho...

extensions development-- firefox or chrome

I'm going to implement an extension, which is kind of similar to GreaseMonkey. Just wondering which browser I should pick: Firefox or Chrome? Which one has better technique supports? ...

How to diagnose XSLT problems with Firefox?

Is there a way to see error messages / debug information on what happens when Firefox 3 applies an XSLT transformation? In Firefox I am getting only the content of the text nodes of the XML document. The stylesheet is in the same directory and is bound with <?xml-stylesheet ...>. In Internet Exporer it works fine and Altova XML Spy does ...

A plugin for manipulating JavaScript/HTML code

I need a tool that can parse and insert code to the JavaScript/HTML code before the browser starts to interpret the code. I've been thinking using a proxy to do it. But now I'd like to know whether I could implement such functionality in a Firefox plug-in? ...

firefox javascript: urls cause page redirects?

In most browsers if you enter javascript:$('element').css('property', 'value'); will result in the javascript code being run. In firefox this will cause the page to change to a blank white page with [object] [object] why is this? ...

Why Opera is using Firefox's Cookies

Hello, I have two open sessions on different browsers (Firefox, Opera). Both of them run on different user accounts. When I navigate through the administration page, the cookies are ok. But when I try to upload some images, the uploading php script receives the same cookies as in Firefox. This doesn't happen if I use Internet Explorer ...

Can I redirect_to a javascript request to another javascript action?

I have a comments controller with index and create actions among others. Both those actions respond to html and js format. Whenever I got create request via ajax, I would like to add new comment and then redirect to index.js, so the comments on screen are updated without reloading the page. This sort of thing works flawlesly in Chrome...

How do I determine whether an intermittent failure is due to a bug in Firefox or Flash Plug-in?

We have an old Flash application that has worked fine for years, but intermittently fails on latest versions of Firefox. Using the same version of the Flash Player, the application runs fine in Internet Explorer. Recompiling the product is risky, and I'm trying to fully understand the problem before resorting to that. I'd like to be abl...

Applet: problem with cookie encoding for jar request (Firefox - Iplanet)

I have an applet working with a JAR file. When the JVM sends the request to the webserver for the JAR file, it adds to the request the existing domain cookies. However, one of these cookie is encoded, and on Firefox with Iplanet (webserver), it prevents the jar from being downloaded (server returns error 400). Below the HTTP request (as...

Why does Firefox terminate my applet after 20 seconds?

I have a simple applet on a web page like this. (This is a test case cut down from a more complicated applet). package test; import java.applet.Applet; @SuppressWarnings("serial") public class SimpleLoopApplet extends Applet { public void init() { System.out.println("SimpleLoopApplet invoked"); try { ...

How do I overlay the preference menuitem in FF4/MacOSX ?

Hello, I'm having problems to define the overlay of preferences menuitem for FF4 beta in MacOSX. It works for previous version of FF and in FF4 for other platforms. Basically want to open my .xul window when the user click in Preferences, but now is opening the FF preferences (The overlay is not working). Any help will be great :) Die...

What does *|* this mean in css

I just saw this: *|*:link with firebug, it's some default styling which firefox appends, but what does *|* mean? ...

Handle missing QuickTime plugin with Firefox

I have a web page that uses the QuickTime plugin to display a 360-degree panorama file. The code to display the 360 looks like this: <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="260" width="320"> <param name="src" value="/images/x/360/x.pano"> <param name="au...

Firefox addon: How to fire event when page load *starts*?

I've written a sidebar addon: which fetches the current page's URL makes a call to a personal server with the URL and displays contextual info in the sidebar Currently, this function is invoked on following events: on enabling the addon on window load on appcontent load on TabSelect However, there are times when a web page takes ...

jQuery memory leak with repeated .ajax calls

I'm using the following pattern which is leaking memory in Firefox: $(function() { (function() { var callee = arguments.callee; $.ajax({ url: '...', success: function() { ... setTimeout(callee, 1000); }, error: function() { ... setTimeout(callee, 1000); } }); })(); ...

How to use loadOverlay to add several windows in a FireFox extension

I am trying to dinamically load a xul overlay, using several calls to document.loadOverlay(myXul.xul) with the same .xul file. the .xul has a browser contained in a box contained in a window, resembling a suggestion i saw on this forum: the loadOverlay() action is performed every time a f...