firefox

Firefox extension for file drag+drop

I'm creating a Firefox add-on that does the following: Drag+drop a file into Firefox If the file has a certain extension and if FF is running on a certain OS, parse the file with regex Extract a url Go to that page The JavaScript for all of this is pretty straight-forward except for the drag+drop into FF part. How can that be done? ...

Is there a .Net wrapper for Firefox or Chrome to crawl webpages?

Is there a simple .Net wrapper for Firefox or Chrome so that I could implement a web crawler and other web stuff? I might need post-form functionality also. ...

Executing a command from the web browser

What is the best way to execute a command on the client computer via the web browser? I know a Java applet is one way, but I really don't want to use Java. Will a firefox plugin work? ...

weird for loop behaviour in firefox 3.5.3

I maybe doing something wrong, but this seems quite weird to me: for(i=1; i < 5; i++){ alert(i) } in before mentioned firefox version gives me five counts of i. the question simply is: what the hell? thanks! SOLUTION: ok, it was my own mistake. i actually had an alert after the one in the loop which displayed number 5 :) thanks all...

Firefox Radio Button Weirdness

I have a form with a lot of groups of radios. Each radio has a unique id and has the same name as the others in its group. The page validates as XHTML transitional. Tested in IE6 & 7, Opera, Safari, and Chrome it works exactly as you would think it would from either mouse or keyboard input. In FireFox it goes crazy. A single click o...

Firefox & NPAPI plugins: can they be restricted (to be only used on certain pages)?

I've been reading this and I know it doesn't mention possible ways to restrict access to an installed plugin, but is there some trick one can play in order to contain the usage of a plugin? ...

Is it possible to see the data of a post request in Firefox or Chrome?

How can I intersect the post data in FF or Chrome is sending via configuration, extension or code? (Code part makes this programming related. ;) I currently use Wireshark/Ethereal for this, but it's a bit difficult to use. ...

How to trace and debug IE's javascript error in firefox?

If I am using many js files in my project and get JavaScript errors in IE 6 or 7's status bar, then how can I trace, find and solve those errors in Firefox? I know how to trace a problem in IE with visual studio but can we identify area of problem using Firefox? ...

First entry not easy to click issue in firefox,a bug?

Pay attention to the part in blue in the first table. Can check out the problem here EDIT reproduce by double click at the upper part of first entry. ...

how does jemalloc work? what are the benefits?

Firefox 3 came with a new allocator: jemalloc I have heard at several places that this new allocator is better. The top Google results don't gave any further information though and I am interested in how exactly it works. ...

Firefox textareas don't scroll to cursor/caret when overflow set to hidden

I want a textarea with no scrollbars. This is done by setting overflow to hidden. However, in Firefox, if I add a new line to the bottom of the textarea, that new line is not visible - the textarea fails to scroll down to the new line. How can I get Firefox to follow the IE/Opera behaviour, whereby if a new line is added, the textarea au...

Replace some text from any HTML page before it is displayed

I would like to hide any text matching a pattern from any HTML page, before it is displayed. I tried something like that with Greasemonkey : var html = document.body.innerHTML; html = html.replace( /some pattern/g, '???' ); document.body.innerHTML = html; The text I want to hide is correctly replaced with '???', but for a brief momen...

Adding a new script file to a page using GreaseMonkey

My employer is blocking the Google CDN domain that provides the jQuery file to so many websites: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js I want to use GreaseMonkey to provide that jQuery reference from a different domain. Is this possible? Can I use a GreaseMonkey script to tell a page to load it's jQuery refer...

IE8 is breaking my AJAX... FF is fine.

Hi, Feeling very proud of myself after creating a form with an AJAX submit, I test it in IE8 and get "Message: 'quantity' is undefined". I've read that it could be something to do with the fact that earlier versions of IE used ActiveX for AJAX requests, but I'm very new to JS and have no real understanding of the problem, let alone the ...

javascript setTimeout, page looks like is endlessly loading (firefox)

var checkTextValue = setTimeout(function() { var textVal = $('p').text(); if (textVal == 'expectedValue'){ callback(); } else { setTimeout(arguments.callee, 10); } },10); i have this code,it works just fine but the problem is that in firefox the page looks like is endlessly loading. ...

Javascript to close IE6, IE7, IE8 and Firefox without confirmation box?

Suppose I want to have a link or a button that when user click it, the browser will close without any confirmation dialog box. It will need to work on Internet Explorer 6, 7, 8 and Firefox. ...

How to hide the border line in firefox when click on the navigation bars?

Can check out here ...

Firefox 3.5.3 Windows + Flash + swfobject wmode problem

I'm having issues with Firefox 3.5.3 Windows embedding Flash using wmode. If I set the wmode parameter to 'transparent' or 'opaque' Firefox 3.5.3 Win XP (Flash player 10.0.32.18 r32) completely fails to embed the movie, but it works in everything else, including IE on the same machine and the same FF in Mac OS. Can anyone help please? ...

Why is document.body == null in Firefox but not Safari

I have a problem with a page where I am trying to get colorbox (a kind of lightbox for jQuery) working. It doesn't work apparently due to the document.body being null in FireFox (3.5.3). This is not the case in Safari (4.0.3) where the colorbox works. Something that jumps out at me is that (I'm using Drupal 6) drupal has appended a scri...

Make Firefox refresh after changing fragment from an iframe

My code is in an iframe from a different domain, and I want to trigger a page refresh on the parent after changing the fragment of the URL (also of the parent). It happens on IE, but not on Firefox. Is there any way of doing it without changing the outer document (polling e.g.)? <a href="http://top.domain.com/#fragment" target="_top">c...