firefox

Disabling Browser's "save password" feature on auth failure

I'm looking for a server-side implementation to disable a browser from saving invalid login credentials. For example, user "foo" logs in with password "bar". Browser asks foo if he wants to save the password. However, foo's password is actually "baz" and therefor would be saving the incorrect password. I've tried manipulating the HTTP c...

jQuery: Width and height not changed in FireFox 3.0.1

I am currently using the jQuery user interface to resize a DIV and to also resize the YouTube video that rests inside the DIV. http://jimenglandweb.com/projects/jquery/instancecontainer.html When the containing DIV is resized, the YouTube video should follow suit: $("#instanceContent").resizable({ maxWidth: 425, maxHeight: 344, m...

greasemonkey script that outputs all data corresponding to xpath

I would like to write a greasemonkey script that given an xpath returns all of the output of that xpath executed on the current page in a .txt file with one result per row. How do I do this? EDIT: Its ok if the output is not written to a file. I just want to have it displayed. ...

Firefox extension opening a page on install

I noticed some Firefox extensions when installed will open up a page once you restart the browser, for example the StumbleUpon toolbar. This is useful to show update notes and give the user some tutorial type information. How do you go about opening a new page in a Firefox add-on the first time the user restarts the browser after insta...

Function.createCallback doesn't pass context correctly in FireFox

I've discovered what seems to be a bug in how the MS AJAX library interacts with FireFox -- but maybe I'm just doing it wrong. I've got a script that looks something like this: dowork({ value: "some value", currentRetry: 0 }); // Try to connect at least 10 times, with a second in-between retries.. function dowork(request) ...

GWT/Firefox: getOffsetHeight() always returns 0

Using GWT 1.6.4, I have the following code to retrieve the dimensions of the browser window: RootPanel panel = RootPanel.get(); int height = panel.getOffsetHeight(); int width = panel.getOffsetWidth(); Now, in the Hosted Mode browser, and in IE (but I believe the hosted mode browser uses IE, right?), this returns the correct values f...

Can we access the webpage's javascript from the firefox extension.?

I am in the process of creating my first firefox extension and I got to call a javascript function defined in the webpage where my extension will work. Can I access it from my firefox extension? any sample example would be appreciated.. Thanks in advance. ...

GWT MouseWheelHandler not working in Firefox

I'm trying to make a TextBox that will change value when someone scrolls the mouse wheel over it. Specifically, my goal is for the number in the text box to increase when i scroll up, and decrease when i scroll down. However, I'm having trouble figuring out the MouseWheelHandler. I simplified my code to just change the value to "UP" or "...

Get Selected Node Id

Hello, I'm developing a Firefox extension, where the user selects a text, then that text goes to a REST webservice and brings some results back. My problem with text selection, I've used this method to get the selected text: var selectedText = window.getSelection(); I got the result in selectedText variable and send it to the server...

Better XML viewing in Firefox

When you view a simple XML document in Firefox, it goes to the standard XML display mode, where you can collapse subtrees, etc. But it's pretty limited in functionality; there's nothing convenient like "expand all" and "collapse all" buttons, there's that annoying "This XML file does not appear to have any style information associated w...

CSS Position Different in FF and IE

I am trying to position some elements on a page at absolute positions. I used the following test code (I replaced the <> with [] to get through the HTML cleaner): <body> <div style="position=absolute; top=100px; left=100px"> HELLO 100,100</div> <div style="position=absolute; top=200px; left=100px"> HELLO 200,100</div> <div style="...

Vista & Cookies

Does anybody know where are cookies stored in Windows Vista? I'm looking at C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Cookies but the cookies I see there don't match the one I see through Firefox. I'm creating a cookie in ASP.NET, localhost, Firefox shows me the cookie but I cannot locate it in the file system. Any ideas? Tks ...

Checking string in Firefox

I am using var txtname=document.getElementById('<%=txtname.ClientID%>').value; if (txtName == "") .... but in FF this is not working. This condition never become true. Even if it has no value. In IE and Chrome its working fine. Can anyone let me know how to solve this..... ...

Firefox error 'no element found'

First off, this isn't exactly the ideal way of setting up a page, however there's a need to distribute a script as 1 file. I have a php script at the top of an otherwise xhtml document with javascript, and under certain conditions use XHR to send a query string to the page itself. The php at the top then activates, and stores the passe...

i want to develop an add-on for mozilla

i want to develop an add-on for mozilla which will browse and give every detail of the song that you're playing on your system now !!.. is it possible?.. how to know which song i am playin ? . which ebooks to follow to develop an extension ...

Browser Cache API for non IE browsers

IE has WinInet API, such as GetUrlCacheEntryInfo, to read and manipulate IE browser cache. Is there a similar API for non IE browsers such as Firefox or Chrome? If so where can I get more info? Thanks Update: According to following (http://stackoverflow.com/questions/61453/accessing-firefox-cache-from-an-xpcom-component) the WinInet...

XSLT Firefox Problem

Hello! I would greatly appreciate if someone could shed light as to why this http://www.binarymark.com/Products/BiorhythmCalculator/bioreport.aspx?day=1&amp;month=1&amp;year=1971 renders perfectly in Opera, IE, Chrome, but fails completely in Firefox 3.1 and 3.5 beta 4? What's wrong with XML/XSLT? Thanks. ...

One-row textarea in Firefox refuses to show vertical scrollbar

I've already figured out that Firefox's sizing of textareas is buggy - it always adds one to your rows and cols settings. But I've decided to just ignore that. The problem is that Firefox also refuses to put in the vertical scrollbar, even if I type a friggin' short story into the box. Am I doing something wrong (i.e. invalid)? Is there...

Flash zooms in when users zooms in browser

I have a feature on my site that is having issues on browsers that have the page zoomed in. When someone that wants to see the text larger zooms in the page with the browser, it zooms in the flash instead of resizing it, so it makes it unusable. Is there a way to keep this from happening, or is it just a bug with the browsers? ...

FireFox showing Flash button but can't click on it

Hi, Got a weird bug with FireFox only. I'm using Uploadify - a great jQuery upload utility to allow multiple uploads to my site. I have a Modal Popup which appears in the middle of the window with blackened out background. My Flash upload button is inside this popup. In all other browsers this works fine, but in FireFox, sometimes (n...