firefox

How asp.net MVC's cache and Firefox's cache work ?

I use the following code to write cache header on *.png requests: response.Buffer = false; response.BufferOutput = false; // Emit content type and encoding based on the file extension and // whether the response is compressed response.ContentType = MimeMapping.GetMimeMapping(physicalFileP...

User hits mouse back button - browser ignores cache settings?

I need to make sure when the user hits back with, for example, the mouse, the browser doesn't instantly load the page from the cache and instead runs the associated code again. This is what my .htaccess looks like. It appears to be just Firefox that is ignoring the cache settings. <IfModule mod_expires.c> ExpiresActive On # Expir...

Firefox crash instantiating NPAPI plugin

I had the whole plugin working previously as a very simple implementation with lots of global and static variables, i've now converted it to an object based design so I can instantiate multiple instances safely etc. However, since I have done that, when creating an instance of the plugin it gets as far as the MyScriptableNPObject::NewOb...

CSS links behaving differently in Chrome and Safari vs Firefox

currently i'm having 2 issues. first of all, in chrome and safari there is a gray border around an image link. the border isn't there in firefox. here's the code: <a href="link.html" target="_blank">Link title <img class="leaving" /></a> and css: .leaving { background-image: url("images/leaving.png"); height:10px; width:10px;...

Programmatically delete Firefox cache data and private data

I am running Windows XP SP2. I want to programmatically delete firefox cache and the private data it stores like my cookies, saved passwords, forms data for the auto fill feature, etc. I did an about:cache in the address bar and that led me to learn that firefox keeps its cache in $USER\Local Settings\Application Data\Mozilla\Firefox\s...

Rewrite a IE Code to a FF Code

This is the code (now is full): HTML: <div id="content" contentEditable="true" onkeyup="highlight(this)">This is some area to type.</div> Javascript: function highlight(elem){ // store cursor position var cursorPos=document.selection.createRange().duplicate(); var clickx = cursorPos.getBoundingClientRect().left; ...

How do i get Firefox to send HTTP Referer data to an embedded flash player?

I want to stream some videos, and have it all done up for flash, but don't want them to be accessed by outsiders, so i have the server set so that only if the right http_referer is set that it works. but firefox doesn't work properly for some reason. the most frustrating thing about this is that it even works in IE. Any help would be ...

CSS Differences Between IE and Firefox: display

I am developing a web application which needs to work with both IE7 and Firefox 3.6. I am laying out the forms using CSS. The forms are pretty standard. I want each div (data-group) on its own line with the labels and options lined up together within the div (as a row). Here is the CSS that works in Firefox: .data-group { /*dis...

crash IE and firefox with this simple google search term

Just search eval error Specified cast is not validin google on IE or FireFox and both of them will crash. I am not sure if they are crashing or just closing that window as it doesnt affect other open windows. I tried this with Bing too and the result was same. IE - 8 Firefox - 3.6 Let me know if you get the same results? ...

@font-face problem, Firefox adds padding, Chrome does not

When using a custom font via @font-face, it does render just as I think it should in Chrome. In Firefox, though, additional padding (top and bottom) is added to the font. Here is my example page that outlines the problem. Is there anything I can do about it? ...

Discrepancy between outputs from firefox and chrome for 'console.log'

Why would firefox give me the correct output but Chrome doesn't ? I am trying to find the height of a div that has not been specified in the stylesheet or anywhere else. Chrome gives me the integer value of '20', but firefox gives me the correct value (using firebug) of 516. This is the code I am using to generate the console.log: va...

How to configure firefox over command line on a linux machine

I use two Internet connections so i want to use bash scripts to automate the task of switching between the two.. the problem is i cant able to configure firefox proxy settings via scripts, so is there a way to do that... does any configuration file exists for firefox so that i can modify over command line.. I have read this entry but th...

print web page in different print quality width fix element size, mozilla, dot matrix printer

Hi, I am having problems with printing in dot matrix printer. My client printer is Epson LX300+II and Epson LQ-2170. I need to print from a web apps that written in php. with web browser client is Mozilla Firefox But i can't set the fix width for the layout. for example: <div style="width:2in"> content </div> when i print those things...

how we put dynamic input such as timestamp when using selenium plugin in firefox ?

i'm use selenium. i use it by using firefox plugin. but i have problem to utilize it. For example, i need to make a 100 post(I need them has different title, range from 1-100) without i have to copy-paste previous command and change its property value i'm sorry if my description is too vague. In nutshell, it's about how to create unit s...

serving a XUL application

Hi, I wonder if it would be possible to serve a XUL rich application (not an extension) (I would create some files and package the application on the fly on the server side according to the request) and then the user would be able to run the application on the desktop (something like javaws for java) how should I package the application...

How to change the selected item in a Firefox Extension's Menulist?

I'm writing a firefox extension and I have a menulist of links that should be automatically (upon load) set to the last link it was set before I closed it. It just keep being set to the first menu item. I've tried using setAttribute('selectedIndex', 1), but that doesn't work. What am I doing wrong? Some sample code: <menulist> <menu...

Javascript reload page in a closure/anon function?

I am using jQuery to animate some DOM elements, but I want the page to reload when the animations are complete, so I tried this: function childDisablePopup() { $("#popup2",window.parent.document).animate({ width: "0px", marginLeft: 0 }, "fast", function() { $("#popup2",window.parent.document).anim...

Web Development -- Not Having to Clear your Cache Each Time

Working with sensitive files that require the cache to be cleared each time... how do I tell Firefox and Chrome to clear my cache each time I refresh the page and/or not cache to begin with? Many thanks! ...

Firefox on Windows not loading @FontFace resource

So I have a bit of a problem. On this page http://www.tylermorriswoodworking.com/pages/recipe-box-engraving-wizard?b=maple&amp;l=cherry&amp;s=3x5&amp;c=42042892 I have a few @FontFace tags to load the custom fonts. On all the browsers it works just fine, except for Firefox for windows. Firefox for mac loads the fonts perfectly. What I am...

Is there a way to get a background-image to render over moz-linear-gradients

In css you may normally set both a background-image, and a background-color, and the image will be rendered on top of the color. #someDiv { background-image: url(arrow.png); background-color: blue; } This will cause #someDiv to have a blue background with the arrow.png image above. However, what if I want to use firefox's -mo...