firefox

Force a page refresh using Javascript in Firefox

Hi All, I have a simple request to refresh a page using a Javascript code below: function tb_closeRefresh() { window.location.reload(true); } This works fine in IE but Firefox just gets the cached version and needs the user to press F5 to get the latest version of the page. I have added the meta tag: <meta http-equiv="Pragma" c...

Multiple swf files not loading in DNN 5.X

Hi Guys, We have run numerous tests now and it has now come down to either a DNN-SWFObject loading multiple swf files on a page or Firefox bug. Here's the outcome we need: Two swf files on one page: Header.swf: which holds the nav and some bling animation. Map.swf: which has different provinces of the country highlighted on rollover...

Keep Firefox sidebar links in the sidebar

I've created a bookmark in Firefox that links to a hosted web application I've written and displays the application in the sidebar using the "Load this bookmark in the sidebar" option. When the application appears in the sidebar and I click links there, those links open in the current Firefox tab rather than staying in the sidebar. I...

Javascript error: * is not a function

I'm using javascript to call functions that have been put into an object like so: generatewidgets['mywidget'] = function (mystring) { code } Later on, i loop through this object and call each function with a string parameter. argument = 'abcdefg'; for (this.key in generatewidgets) generatewidgets[this.key](argument); This works...

how to set a cookie in the address bar?

I want to add a cookie so that I can exclude my interaction with my website from google analytics (I don't have access to put files on server as is third party application) Is it possible to set a cookie with javascript by executing code in teh address bar of the browser? ...

Firefox 3.5.3 horizontal menu drop-off

URL: www.htiops.com CSS: www.htiops.com/css/htiOps.css The last two links in the gray horizontal nav bar are vertically dropping down in FF 3.5.3. It doesn't happen in older versions of FF, IE7, O8, Saf3. Changing the font in #navBar ul li a from .8em to 10px fixes the drop-off problem, but is not the desired appearance of the menu....

firefox allowing site in popup blocker causes new tab to open

Ok pretty random situation here and I'm kind of just grasping for an explanation so I hope this makes sense: Our site launches reports in new tabs/windows using the basic 'window.open' javascript function. The reports are one-off things you are just meant to close when finished with them. This works fine in general. We give open 2 para...

Firefox 3.x extensions: dialog "Save As" - choice opener, how open?

Is it possible to call Firefox Save As dialog ( chrome://mozapps/content/downloads/unknownContentType.xul ) with specifying URL? I found that class for this dialog stored in "nsHelperAppDlg.js" and called "nsUnknownContentTypeDialog", but i don't understand how to use it :( I want to create extension, that show firefox "save as" dialog...

CSS : Maintaining fixed height for DIV in Firefox and IE

I have a master div and inside that i am showing multiple divs as a list.My HTML as below <div id='divMasterContainer' style="height:200px;"> <div id='child1'> // Some child contents here (Radio button / Button etc.. ) </div> <div id='child2'> // Some child contents here (Radio button / Button etc.. ) </div> <div id...

Open new browser windows in JavaScript without making it active

I have some JavaScript that makes an AJAX call and, if the call fails, opens a new windows (tab in Firefox) and displays the response from the server in that window. This is very convenient for debugging, because the error is typically from Pylons, so it's a full HTML page. The only problem is that the new tab becomes the active tab, wh...

Flash - Firefox issue

I realised that if I do have a flash object and do not include a 'wmode' attribute, I will not be able to overlay HTML because the flash will always play on top. But if I do include a 'wmode:transparent' , the flash object completely disappears in firefox, whereas if I use 'wmode:opaque' , I get a white box in place of the Flash object. ...

How to disable a .DLL's console output?

Hello everyone. I used to use WatiN for my Web Automation project. But, IE looked slow to me. I tried to use WatiN with FF projects, but it seems WatiN with Firefox is not as powerful as WatiN with IE. Before I though this, I researched how to use WatiN in Firefox 3.5. Because WatiN comes with jssh for FF 2.x and FF 3.x. When I use Wat...

asp.net 3.5 + update panel doesn't work in mozilla

Hi, I show/hide few images basing on the button clicks in update panel. I use an update progress also for this. Everything works fine in IE7. But in Firefox Version 3.0.14 when I click on the button in the update panel the event itself is not getting fired. What may be the problem? ...

Checking if radio buttons are checked in Firefox

On my site, I have two checkboxes created in my ASP.NET MVC view like so: Html.RadioButton("check", "true", "true" == (string) ViewData["someKey"], new { id = "check1"}); Html.RadioButton("check", "false", "false" == (string) ViewData["someKey"], new { id = "check2"}); I am positive that ViewData["someKey"] has the value "true" in it....

Javascript returning month as 9 where it is 10

I'm building today's date using a onclick event in JavaScript. When i set the .value property with: var now = new Date; ...Value = now.getMonth() + "/" + now.getDate() + "/" + now.getYear(); this produces: 9/9/2009 I am expecting: 10/9/2009 This happens in both IE and Firefox. The system time on my computer is correct. Any ideas? ...

window.open() not playing well with anchors in Firefox 3.

The following javascript, intended to open a new window and jump to a specified anchor, works great in IE. Unfortunately, in Firefox, it opens the window, but it doesn't jump to the anchor. I've been struggling with this problem for a couple of days now (searches and modifications) to no avail. If anybody has any insight as to how I ca...

Javascript/Canvas/Images scaling problem in Firefox

I have a problem with the context2d's drawImage function. Whenever I scale an image, it gets a dark border of one pixel, which is kind of ugly. That does only happen in Firefox, not in Opera or Webkit. Is this an antialiasing problem? For hours I studied the examples and available documentation without getting rid of it... I couldn't ye...

contentEditable breaks page up down buttons in firefox

Does anyone know how to fix (or what causes) the page up/down bug in FF when contentEditable is present on a div? See an example Navigate to contentEditable article with FireFox (3 or 3.5) and use the Page Up/down arrows on your keyboard. You should be unable to scroll to the bottom of the page, and it should appear to flicker and jump ...

CKEDITOR not defined

OK, I'm using greasemonkey to replace an editor on a site that is using KTML (from 2006!) with CKEditor. I first get rid of KTML, then I load jQuery and then ckeditor.js and that works, apparently. But when I go to replace the textarea, firebug reports "CKEDITOR is not defined" and my textarea stays normal. Am I loading them in the wrong...

saving data in chrome:// document

Hello, Im making firefox extension and I have a problem with variables. Extension works with file (chrome://myextension/content/document.html) opened in few tabs. I want it to store a value in each tab, so I decided to store it in one of the html objects, that have got "Object" id: data="foobar" node=gBrowser.contentDocument.getElementB...