firefox

asp.net OnPreRender doesn't fire after a Redirect in IE

When I run the following logic: 1) from Page1.aspx Response.Redirect("Page2.aspx?Params...") 2) from Page2.aspx Page_Load event Response.Redirect("Page1.aspx") The Page1 OnPreRender event does not fire if the browser is IE8. Its ok with Firefox. It seems that the browser is loading a cached version of the page. Any idea how to f...

How to call javascript from applet without use showDocument ?

Hi, I'm using getAppletContext().showDocument(new URL("javascript:" + command)); to call javascript from applet. But sometimes in firefox this doen't work, I don't know why. So, now I'm trying to use JSObject, using this: JSObject jsObject = new JSObject(); jsObject.eval(command); But I got this error: Exception in th...

Login Once to Firefox, Internet Explorer, Safari, Chrome and C# custom client

I have a C# custom application that obtains a cookie using OpenID in the following way:: using System; using System.Windows.Forms; namespace MyNamespace { public class SignIn : Form { private WebBrowser _browser; public SignIn() { InitializeComponent(); } private void SignIn...

FF & Chrome: Text bounding box difference in Window/Linux

I'm trying to position several text elements using position:absolute. However, it seems that both on Firefox and on Chrome, the bounding box of the text elements is of a different size in Windows and in Linux. I've extracted a simple test case which is available here: http://share.shmichael.com/html/event.html I've tried all kinds o...

Is it possible to open a new tab in watir-webdriver?

The only thing that looks a bit like what I'm trying to achieve is this, but this works only for IE... for firefox I found that information, so is it not possible to open tabs, just new windows? And the attach method is accessing only already OPEN tabs/windows... Is there a way to decide to open a specific link in a new window/tab? I se...

Javascript date weirdness between Firefox and everyone else

Does anyone know why in Firefox if you execute the code below it will validate it as a date if the string passed in is four numbers and only four numbers? In every other browser I tested with (IE, Chrome) it will always return as not a date. Being that the spec, as pointed out by Marcel Korpel below, states that it should fall back to u...

How do I get Maven to run Selenium tests in Firefox 3.6?

Question partly answered in http://stackoverflow.com/questions/3481851/selenium-rc-testing-with-maven - basically stating go back to using Firefox 3.5 (but one answer suggesting that does not work). Not an option anyway - 3.6.8 is what we are using. Anyway, any clue on how to get Maven / Selenium working with Firefox 3.6.x? I am atte...

Error after compiling .IDL file for Firefox accessibility

Hello everyone! I've encountered a very annoying problem while working with Firefox MSAA (). I tried to compile IDL file from cmd but it failed. Then I added it to the project and ran build. After VS compiled interface file there were two C files - ISimpleDOMDocument_h.h and ISimpleDOMDocument_i.c I added those to the project. But now I...

jquery .css applying in chrome or FireFox

I am using Jquery to apply some top and left positioning. When doing so, in IE it works perfectly. Unfortunately, it doesn't work in Firefox or Chrome. In IE, when inspecting the code it shows inline styles on the div for the left and top. When looking at chrome and firefox, there are no inline styles for the divs's. Here is some co...

JQuery not Working in chrome?

Hi Everyone! I am trying to change the background-image of a div by altering it's CSS via Jquery and I got it to work in FireFox but for some reason its not doing anything in chrome, I tried clearing the cache but still no luck, there's no errors in the console either, Here's my code: $(document).ready(function() { var bg = 1; $(...

Firefox element height issue

I am creating a table dynamically based on the number of rows returned from the server using struts. The table is created properly and I am trying to get the height value on the created table using any of the following: document.getElementById('elementId').offsetHeight jQuery("#elementId").css('height') jQuery("#elementId").height() I...

Left Alignment Within Gmail - IE / Firefox Discrepency

Unfortunately I can't post the sample code here, but I'm trying to debug an issue in which an HTML email that displays perfectly in both Firefox and IE standalone, ends up having its text center aligned after its framed by Gmail, but only in Internet Explorer (ie8) Has anyone else had a similar experience? The HTML in question was gene...

Firefox Extension : Store Addon Data

I am building up a firefox extension which allows users to drag and drop things. Now if a user closes the application or reloads the page, I want to restore the last activity he did. Example : User moves a box from point X to Y. There can be many more boxes as well. Now after page reload or application startup, if user puts ...

Google Chrome HTTP monitor (like HttpFox)

I am looking for an HTTP traffic monitor/sniffer (something like Firefox's HttpFox) for Google Chrome, for debugging/development purposes. It is the only thing preventing me from switching entirely to Chrome for web development. Is there one? ...

Disable ASP.NET 1.1 Validator using JavaScript - Not Working in Firefox

The following attempt works in IE8 but not in Firefox (cannot use JQuery for this): case 'Template:templateControl:residenceRBL2': if (selected.value == 'Within USA') { /* Enable zip textbox and validator */ document.getElementById("Template_templateControl_zipTxt1").disabled=false; ValidatorEnable(document.getElemen...

What is "content loaded as chrome?"

-moz-user-select Controls the appearance (only) of selection. This does not have any affect on actual selection operation. This doesn't have any effect on content loaded as chrome, except in textboxes. Source: link text I know what -moz-user-select does, but what is "content loaded as chrome?" Thanks ...

FIrefox / Safari Not Firing Mouse Over Event to show a div over another div using css class switch

Hello, I have a div that, when the mouse over event occurs should fire some javascript to change the class of a div floating over it to visible. The code works fine in IE (8) but not firefox, chrome or safari. I've attached a demo sample below: <div class="videoImagePlaceHolder"> <div class="vi...

Create Outlook Object with Firefox

Hi, with ActiveX I can create an Outlook instance and start a new HTML e-Mail. Here is the sample code: var outlookApp = new ActiveXObject("Outlook.Application"); var nameSpace = outlookApp.getNameSpace("MAPI"); mailFolder = nameSpace.getDefaultFolder(6); mailItem = mailFolder.Items.add('IPM.Note.FormA'); mailI...

jquery not firing in firefox

My below jQuery is working fine in Safari and Chrome (Latest versions on Mac) but not in Firefox. Any ideas? $('#contact').click(function() { event.preventDefault(event); $("#contact_box").fadeTo("slow", 0.01, function() { $(this).slideUp("slow", function() { $(this).remove(); ...

Frame content not appearing in Firefox

This simple frameset is not working in Firefox (IE7, 8, Chrome is okay). main doesn't appear but footer does. There's a frame window divider flush to the top of the screen, but even after pulling that divider down, no main content is shown. It's validated under its DOCTYPE. Any ideas? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Fra...