firefox

firefox extension. How to catch onload event?

So..got scriptable extention for firefox. it's somelika a webspider, written in javascript. what i want to do: i want it load a page, them do some job, then go to another page (using an url from the loaded page). After the new page is loaded - the spider do the same job. Algoritm is somelike this one: wait till the page is loaded do ...

Unit Testing a Firefox Addon

In working on a firefox addon, i've found the task of unit testing to be kinda janky and difficult to setup. Anyone have recommendations on how to setup unit tests for an addon? Any tools or additional addons found to be helpful? I've found Mozmill [ https://addons.mozilla.org/en-US/firefox/addon/9018 ], which I think will be useful to...

Are your familiar with this code injected by firefox?

<div id="atffc"> <object height="1px" width="1px" id="atff" data="//bin.clearspring.com/at/v/1/button1.6.swf" type="application/x-shockwave-flash"> <param name="wmode" value="transparent"/><param name="allowScriptAccess" value="always"/> </object> </div> It only happens the first time you visit. And I checked there is ...

Can Firefox use an SVG for a background

Can Firefox 3.5 use an SVG for a background image? ...

How to inform users that his browser is not supported

Hello, I'm working at a small company and we are developing a web application. With the very few resources we have available, we can't afford to assemble the development team we would like to (we are only two people). The web app is becoming very complex over time and it is very difficult to keep progress with IEx, Firefox, Safari, and ...

How to animate mouse cursor with custom image when loading page?

Hi! I'm trying to change cursor mouse on my website with custom images. Here is my actual CSS: <style type="text/css"> <!-- body { cursor:url(images/default.cur),auto; } a:hover { cursor: url(images/hover.cur),auto; } a:active { cursor: url(images/wait.ani),auto; } --> </style> Firefox 3.5.6 does change the default cursor with my ....

Updating onclick's string value with Greasemonkey

I'm trying to write a Greasemonkey script to update the onclick value of a bunch of links on a page. The HTML looks like this: <a onclick="OpenGenericPopup('url-99.asp','popup',500,500,false)" href="javascript:void(0)">text</a> I need to update the url-99.asp part of the Javascript into something like urlB-99.asp. In my script, I'm...

How to Use the "Source" Parameter with the REST API Of Twitter??

Hello, my name is Fernando and I want to write an extension for Firefox which is a client for Twitter.Eu been studying and came across the fact of having to use OAuth to bring up the "From Name" as example. Fact is that I've never seen it before, I am not very mainstreamed with OAuth and Firefox does not provide facilities to use it full...

Load a dynamically created document in the browser from a Firefox extension

Is there a way to load a DOM document dynamically created from the scope of a Firefox extension to a tab in the current browser? I would like to create an HTML report from a Firefox extension and load it in a new tab in the browser. var doc = document.implementation.createDocument ('http://www.w3.org/1999/xhtml', 'html', null); var ...

div background image appear nicely in Firefox, disappear in IE6 & 7

Hi all, I'm really really new to HTML/CSS, but somehow decided to plunge head on to using 960 Grid System, which I found helpful. I know some says it's unsemantic, but I've been involved and at the end, tangled in the problem stated above. I've tried a few codes like overflow: hidden, overflow: auto, display: block, etc that I found on o...

Finding the tab that fired an http-on-examine-response event

I'm using the nsIObserverService to monitor the responses, but it fires events for all tabs (browser in Mozilla terminology). I'd like to know which browser is getting the response in my observe method. ...

Communicating with users on other web pages

This question is part user experience, part engineering. I am trying to find a nice, clean way to have a user communicate with my web page while they are on another web page. I have web services that will accept HTTP POST/GET, so AJAX and other asynchronous niceties are welcome - don't worry about the details of their communication, the...

Firefox XUL textbox: How to scroll to the bottom?

I'm working on a Firefox extension, and I have created a multiline text box. When the user presses a button, I add text to the textbox by using (Javascript) TextBoxElement.value += "More Text"; The problem with this code, is that whenever more text is added, the textbox scrolls all the way to the top. With much testing, I haven't figure...

How to Set the Source Parameter using OAuth on Twitter?

Hello, my name is Fernando and I was here asking if there was a way to set the parameter 'source' using REST. Today, after some testing, I managed to implement OAuth in the library and I succeeded in publishing a message directly by OAuth configured for my application, but do not see what I had set for the field source, even using OAuth ...

jQuery incompatibility with Firefox

Hello, I'm using a simple piece of code $("container").load(url, function(){ callback();}) to replace the content of a div container using jQuery's AJAX functionality. That appears to work well with Internet Explorer, however after trying to view it through Firefox I am getting some unexpected behaviour. The page is fetched and plac...

One-by-one jQuery scrolling loader acting up in WebKit

I've been working on a little experiment where, as you scroll, new entries are loaded onto a page. You can see a practical example here. Now, if you look at this Firefox everything works as it should. As you scroll towards the bottom of the page entries start to load but only one-by-one. View it in WebKit and instead it will start to l...

How to improve speed of dynamic HTML table creation in Firefox?

I am rendering a small table(maybe 10-12 cells) which is updated constantly. I want it to be quick. Chrome does the work very fast, but i am having problems on Firefox/IE. Any suggestions for faster rendering? Thanks ...

window.print not working in Firefox

function CallPrint() { var prtContent = document.getElementById('<%= pnlDelete.ClientID %>'); var winPrint = window.open('', '', 'left=0,top=0,width=800,height=600,toolbar=0,scrollbars=0,status=0'); winPrint.document.write("<h3>Summary</h3><br />" + prtContent.innerHTML); winPrint.document.close(); ...

Selenium - "Firefox is already running" error

We are running some tests using selenium. We have dedicated Windows XP VM's for that, with one selenium RC server on each VM, and no other process running on that VM. We open and close a selenium session for each test. The tests always call selenium.stop() when they finish. A lot of times (1 in 30 I would say) one test hangs, and when I ...

ModalPopupExtender moves just before Response.Redirect in Firefox

In Firefox (3.5 or 3.0), AJAX toolkit modal popups move just before a redirect. It's as if the positioning css is ignored. The rest of the css appears to be honoured i.e. the popup appearance doesn't change but it jumps to the top left-hand corner. The test code below reproduces the issue. It only happens in Firefox. I am going to t...