firefox

Beginner jQuery Questions (FF/IE issue)

I've been playing around a bit, with jQuery, just trying to do some replacing of text fields on click of a link and hiding/showing of content items as well. It seems to be working just fine in IE, but I can't seem to get it to work in FF. My jQuery: $(function() { $(".articles a").click(function() { articlenumber = "1" $(artic...

File upload in playframework with different browers

I'm using playframework to build a web site. And I also use a rich editor named xheditor. Xheditor support ajax-fileuploading, it needs the server side has a action which accepts "filedata" parameter which contains the upload file. So I wrote a upload action: public class Application extends Controller { public static void upload(...

'Like' button click fails in Firefox

I'm adding a Facebook 'like' button to the DOM using this jQuery plugin: http://onerutter.com/open-source/jquery-facebook-like-plugin.html It works fine in all browsers except Firefox. The way it works is that when a certain link is clicked, some data is loaded including the URL for the 'Like' button to use, so a new Like button is gene...

Javascript, inspecting window for existing Document objects (frames, DOM trees)

Hi all, my task is to get (updating) data from a GMail page with Greasemonkey's injected scripts. I want to get each object of HTMLHtmlElement (<html>) type from an opened page. What is a best way to enumerate all <something>.document instances existing in Firefox's currently open tab? Greasemonkey has unsafeWindow, but don't know what ...

Force Firefox to drop SQLite lock from cookies.sqlite

I'd like to delete certain Firefox cookie. The problem is I'd like to do it when Firefox is open. When I try to access the cookies.sqlite I get the database is locked error. Is there any way I can force Firefox to drop the lock without closing firefox? ...

Firefox Jetpack Development Debugging

So, I'm working with some JS in Firefox and also working with the jetpack sdk. I am working in a JS editor, and then I run the sdk through the command line. However, when there is a bug there is no way to debug this because the JS is being run/loaded before the page and the DOM so firebug is to no avail. Can anyone recommend a better t...

How to determine how many scripts are awaiting execution in firefox ?

How can I determine the number of scripts awaiting execution within firefox? (The execution queue) And would this include code scheduled with setTimeout ? ...

How to print a non-static google map (v3 api)

Hi, I would like to ask if there is any way to print a google map which is showing a direction overlay? I hv tried http://abcoder.com/google/google-map-api/print-button-for-google-map-api/ with google map javascript api v3, but the map cannot be shown. I hv also tried to use static google map, however Static Maps API URLs can be a max...

ie/firefox and flash: what's the refresh algorithm

Hi, I made a flash and embed it into a webpage. I use the browser to test the flash, an intersting thing, after I upload the flash into the server, and press F5 to refresh the browser, the browser still use the old one, I can't enforce the browser to use the new flash swf file! How can I tell browser to use the new swf? ...

@font-face Generator, pages in sub-folders do not work in Firefox.

Having a weird issue using Font Squirrel's font generator. I follwed the steps and have it all working in all broswers. However as soon as I make a new folder and copy across the index file, and alter the CSS root, the new page does not work, but the original does. This is only happening in Firefox 3.6, all other browsers render the new...

How to map response to request when using "http-on-modify-request" and "http-on-examine-response"??

How to map incoming responses to the outgoing requests when using HTTP observers: https://developer.mozilla.org/en/Setting_HTTP_request_headers#Observers ? ...

:contains() works fine in Opera, IE (7,8) and Chrome but in firefox

Hi I have written a search filter. It shows/hides some thumbnails in a video gallery based on text typed into an input field. Te input field has a keyUp event. $('.videoSearch').keyup(function(e){ var searchString = $(e.srcElement).val(); var el = $($(e.srcElement).parents().find('.videoThumbs').first()); $(el).find(".title:not(...

Security Manager vetoes action in Greasemonkey Script!

I'm trying to prevent my Greasemonkey script from executing within IFRAMEs. I'm doing so by using if (window.top != window.self) return;. As soon as I insert that line right after the metadata header, the error console throws out a "Security Manager vetoed action" indicating this exact line of code. There's no additional information avai...

How to disable Firefox's default drag and drop on all images behavior with jQuery?

Firefox has this annoying behavior that it let's the user drag and drop any image element by default. How can I cleanly disable this default behavior with jQuery? ...

CSS gray text opacity and Firefox problem - color issue

I'm using following jQuery function to change the opacity of text (it's color: #999999) $('.small_buttons').css('opacity', 0.3); The effect looks good in Chrome or even Internet Explorer 8, but in current version of Firefox (3.6.10) this text gets really strange greenish colour, instead of nice pale gray. Screenshots: Chrome: http:...

Safe feature-based way for detecting Firefox with Javascript?

i have been searching for the correct method of detecting method of Firefox using Feature Based Sniffing any Script that can help me with that help will be appreciated..!! Edited: Ok here is a Solution i cameup with that will Detect and tell with Indication of 0 or 1 for a CSS feature thats only avaliable in Firefox and that will help ...

Issue with Facebook Like button in Windows Firefox

Hello all, I've got a facebook like button ( iFrame edition ) that is overlaid on top of a full browser Flash application. The like button is hooked up to like separate images within the application, and when each new images is shown, the like button is refreshed with data using ExternalInterface. The like button fades in and out for e...

How to script Firefox or any Mozilla based browser

I need to automate something like this: Open an URL Wait until the page is fully loaded Save COMPLETE page as... (I can provide a name). I saw https://developer.mozilla.org/en/Command_Line_Options but I can't find an option to invoke the command "save page as... (in mode Web page complete)". So I can have all css, js, xml and related...

Setting custom cookies in firefox and chrome?

Is there a way to add a cookie in these? Like "debug=true" and that way my website can test for that? I'm meaning to be able to use the ui of the browser. Maybe a plugin/extension? Basically, I want to be able to test certain features without anyone else seeing them. ...

Web Site testing stategies.

Hello I've been Googling this one, on and off, for a few days now. When generating non-commercial Web sites, what's the best strategy when it comes to cross-browser testing? I use Windows 7 and Textpad to develop my HTML/CSS/JavaScript/PHP - i.e.: no dreamweaver, kompozer, Etc. I currently test using Firefox 3.6 and IE8. The last ti...