firefox

In Firefox, can I figure out which random word in a div full of words the mouse is hovering?

For example, if I have: <div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur urna felis, convallis quis, placerat in, elementum quis, libero. Nam quis lacus. Vivamus rhoncus quam et metus. Praesent et velit eget sem vestibulum volutpat. Integer sed risus. Integer quis libero id diam bibendum luctus. Donec eleifend. C...

How do you package and self host your Firefox extensions?

I'm developing a site-specific Firefox extension. The official hosting/updating mechanism at addons.mozilla.org forces my users to login to download my plugin (until it get approved for public status), which isn't good for me, especially as my plugin is unlikely to be deemed useful to the web at large and will be stuck in the sandbox for...

Activate Firefox tab in Greasemonkey/Javascript? Is this possible?

Hello, I developed a greasemonkey script that refreshes a page and checks for certain updates. I would like to run this script in a tab and browse the internet in another tab, but then have the script automatically activate it's tab when an update is found. Im not sure how clear that was, maybe this is better: Tab 1 is running a greas...

How do I close a firefox tab from a greasemonkey script?

I have a greasemonkey user script with this single line of code... window.close(); but firefox does not allow a user script to close a window (as reported by an error message in the error console) Is there a work around to this problem? ...

Why does my custom drag and drop script fail?

Hi all, I am currently trying to code my own JS drag and drop script (out of sheer curiosity and boredom, I know it would be much easier with a framework). My aim is a fully working FF3 version , IE can wait for now. I just got stuck on a weird bug. When I drag the div for the first time, it works ok. When I drag it for the second tim...

JQuery: animate() doesn't work as expected in IE...

Hi, I'm getting crazy with this IE 7... ==> hhttp://neu.emergent-innovation.com/ Why does following function not work in IE 7, but perfectly with Firefox? Is there a bug in the animate-function? function accordion_starting_page(){ // hide all elements except the first one $('#FCE-Inhalt02-ContentWrapper .FCE-Fade:not(:first)'...

jQuery .getJSON Firefox 3 Syntax Error Undefined

I'm getting a syntax error (undefined line 1 test.js) in Firefox 3 when I run this code. The alert works properly (it displays 'work') but I have no idea why I am receiving the syntax error. jQuery code: $.getJSON("json/test.js", function(data) { alert(data[0].test); }); test.js: [{"test": "work"}] Any ideas? I'm working on ...

Firefox manipulation of saved form data

Hello, there is a firefox plugin for manipulate and delete saved form data? In the browser there is only the optiof for delete all data. Thanks all. Alberto ...

ASP.Net Script Controls, Returning False from OnClick, and FireFox

Short Explanation: I have a script control that has the click event being handled in the script file. The Click handler pops up a confirm prompt and returns the prompt's value. Problem: IE sees the return False (Cancel is selected on the confirm box) and there is no postback. Firefox ignores this and fires the postback. Solution...

Close Parent window in fireFox

Is it possible to close parent window in Firefox 2.0 using JavaScript. I have a parent page which opens another window, i need to close the parent window after say 10 seconds. I have tried Firefox tweaks "dom.allow_scripts_to_close_windows", tried delay but nothing seems to work. Any help will be really appreciated. Thanks ...

Is there a way to force Firefox to launch in a new process?

Is there a command-line argument that would force firefox.exe to launch a new process for a particular URL regardless of whether another instance of firefox is already running? ...

Drawing a user interface based on preferences

I want to use the built-in preference system for my xulrunner (Firefox) application. But I can't figure out how to easily drive the user interface based on preferences. The user can specify a list of home pages, and each home page will show up in a different tab. Because the tabs are in the presentation layer, I'd like to create them ...

JavaScript TinyMCE/jQuery race condition on firefox

I have a website with a form that uses TinyMCE; independently, I use jQuery. When I load the form from staging server on Firefox 3 (MacOS X, Linux), TinyMCE doesn't finish loading. There is an error in Firefox console, saying that t.getBody() returned null. t.getBody(), as far as I understand from TinyMCE docs, is a function that retu...

Where's the sound API in Silverlight? Or, how do I write a music app to run in the browser?

I would like to port a desktop music application to run inside the browser. Cunningham et al proposed using Flash a couple of years ago. I don't think it ever got off the ground though. Probably because Flash isn't really suited for a complex interactive editing application. Aside from simplifying the animation of the caret and scrol...

Differences in reload behavior between FF and IE

In Firefox a Reload seems to reload everything while on IE the Refresh reloads just the HTML part of the current page. In IE you need to press Ctrl-F5 for a complete reload. Why this difference and is it somewhere an article explaining this difference more thoroughly? ...

Essential Firefox Plugins/Extensions?

Hi All, What firefox plugins could you not live without, as relates to webdev? My list would be: DBGBar Dom Inspector Firebug Firecookie Google toolbar (useful for seo) Live HTTP ReloadEvery TamperData Web Developer I am always on the lookout for new ones though, so I wonder if anyone knows of any great ones that I may have missed?...

Fastest javascript page search

I am writing a Firefox extension. I would like to search the current webpage for a set of words, and count how many times each occurs. This activity is only performed when the user asks, but it must still happen reasonably quickly. I am currently using indexOf on the BODY tag's innerHTML element, but am finding it too slow to run repeat...

Simple jQuery function works in every browser but Firefox. What am I missing?

$(document).ready(function() { $("span.link").mouseover(function(e){ $(this.children).css("display","inline"); }); }); I'm not a javascript expert, but I've cobbled together a few functions using jQuery. In this case, the stylesheet hides some controls. When the user mouses over, this function exposes those cont...

Strange caching of .js file in firefox/tomcat/eclipse

I'm developing .jsp using eclipse and tomcat. My .jsp outputs html to pull in some javascript from a .js file. The jsp outputs the code which hooks up the function mapTool to the mousedown event. imfMapFunctions5101.js contains the mapTool(e) function. The changes I make to the .js file do not take affect when I run in firefox, alt...

How do I make Flex file upload work on firefox and safari?

I have a flex app that uploads files to a server. The server requires authentication to be able to upload. In IE the upload works fine. However in FF and Safari, it does not upload. I have seen people all over with this same problem but no answers. Don't fail me now stackoverflowers. ...