firefox

How do you configure browser proxy settings in a centralized fashion

How do you configure browser proxy settings in a centralized fashion? Our development environment consists of many operating systems (Win XP, Win 2k3, Ubuntu Linux) and we usually run various browsers (Firefox, Chrome, IE, Safari) on each dev machine, to test our applications. Managing and configuring browser proxy settings on each brow...

In Firefox, double-clicking on an a tag with href set to # but with onclick set to bring us to another page will effectively make us remain on the current page

Suppose we have the ff. in a.html: <script> function onClick() { // Do some important stuff and then... location = "b.html"; } </script> <a href="#" onclick="onClick();">Link</a> Double-clicking on Link will trigger the event-handler onClick. However, the second click in the double-click seems to be interpreted as another...

URL routing, rewrite path but keep mimetype

I have implemented my own IRouteHandler for URL routing. For files without extension it will try to load the filename as a Page from the Pages directory with: return (IHttpHandler) BuildManager.CreateInstanceFromVirtualPath(path, typeof(Page)); However there are also images and css files (with relative paths) that need to be translate...

dojo and Displaying Inline SVG

I am attempting to display a dynamically created SVG inline in a dojo based application and am running into some difficulty. When I navigate directly to the SVG, it renders fine in Firefox 3.5/3.6 and Chrome, but when I inline it, verifying I have the right DOCTYPE and XML namespaces, both Firefox and Chrome just display a pile of text ...

@font-face declaration works on Firefox but not Safari/WebKit?

The following @font-face declaration works perfectly well on Firefox (Mac) but not Safari/WebKit: @font-face { font-family:MyGaramond; src:local("Garamond Premier Pro"), /* Full name */ local("GaramondPremrPro"), /* Postscript name */ url("GaramondPremrPro.otf") format("opentype"); /* Fallback */ } h2 { font-family:MyGaram...

element.firstChild is returning '<TextNode ...' instead of an Object in FF

I wrote a tab system using some very basic Javascript and it runs like a champ in IE 8 but, in FireFox 3 I am coming up short. The pertitent HTML is as follows: <div id="tabs"> <ul class="tabs"> <li class="current"><a><span>News</span></a></li> <li><a><span>Videos</spa...

I have a problem with keydown event and autocomplete in Firebox on mac.

Hi, This is driving me nuts. Its a tough one to explain but Ill have a go. I have one input text field on the front page of my site. I have coded a keydown event observer which checks the keyCode and if its ENTER (or equiv), itll check the input value (email). If the email is valid and unique in the DB itll submit the form. Basic stuff...

How to access window object from XUL?

I'm trying to set an onLoad event to the current web page from a firefox extension. I'm using the gBrowser object but I'm not sure if this is the best way. I would like to set an onLoad event to the web page window to execute some actions of the plugin as soon as the page is loaded. Thanks in advance. ...

Prevent Firefox autocompletion from popping up

Hi. I wrote an autocompletion script for an input field on a website. It uses jQuery and works fine. It should look something like this: Unfortunately, Firefox's own autocompletion gets in my way, overlapping some of the results: Is is it possible to prevent the Firefox autocompletion field from popping up? (Not only on my machine ...

Paperclip and xhr.sendAsBinary

Hi, I use paperclip to add a file to my model. I want to use the new feature of firefox 3.6, xhr.sendAsBinary, to send a file with an ajax request. Here is how I build my request : var xhr = new XMLHttpRequest(); xhr.open("POST", "/photos?authenticity_token=" + token + "&photo[name]=" + img.name ...

Is it possible to delete or invalidate gecko / firefox session without closing browser?

Is it possible, using the gecko / firefox XPCOM interfaces, to delete or invalidate a user's active session without closing the browser? I am using Gecko embedded (specifically GeckoFX) in an application where it is possible that multiple users might use the browser component across the lifetime of the application. The application packa...

Detecting changed form values -- Firefox replaces with user-input values, breaking dirtiness detection.

Hi, I'm implementing form dirtiness detection for a web-app. The 'dirtiness' that I'm interested in is the server's value versus what's displayed on the form. The server is running Django, most of our scripting is in jQuery. We serve the form fields with the correct default values corresponding to the value on the server, e.g. <input ...

fancybox only works on last image in FF and chrome

In firefox Fancybox only works on the last image (last image in the source, not the visual webpage). In IE everything works fine. I changed ID into CLASS, but no succes yet. You can find the source here: http://www.luukratief-design.nl/dump/parallax/stack.html please help! Bugging me for days now. I asked this question befor, but did n...

How do I read the cache of Chrome and Firefox programmatically on the Mac?

Background I want to access the cache of Chrome and Firefox in my Cocoa application. I need to get the HTML for pages accessed recently. Safari is a piece of cake - all this information is available in SQLite data stores, but not so in Chrome and Firefox. The Problem For Firefox, the cache is in /Library/Caches/Firefox/Profiles/xxx.de...

AJAX issues, no response or "access is denied"

What could it mean if I make an ajax request with the jQuery .load() and I get no response at all in firefox or chrome, and in ie8 I get an error saying "Access is Denied"? ...

Firefox __doPostBack not working after idle time

Hi, Got really strange Firefox issue. Using the Microsoft __doPostBack javascript function in web forms page. Used for tab control, we have got each tab click calling the __doPostBack function. Works ok on my dev machine with all browsers but got a colleague who has an issue if he leaves the page idle for circa 3 -4 minutes. After this...

Firefox sporadically displays file stream instead of a document.

When user requests to download a document, I'm writing out a PDF file to HttpResponse using HttpResponse.OutputStream.Write method. It works in every browser except Firefox(3.5.8). In Firefox it sometimes displays the file and sometimes it displays the actual byte stream. When it displays a byte stream, http response is never finished. ...

Can a Firefox plugin influence the "Save as" window?

I'm doing a lot of renaming whenever I'm saving files to disk. Assuming I have some rules on which renaming can be done, is there a way for a Firefox plugin to change the name a file will be saved under? ...

Problem with Firefox not triggering links when a new site is loaded and the mouse isn't moved

Hello. The following problem has been bothering me: I have a "previous/next"-navigation to navigate through a gallery of pictures. as for the css: the links are inline-block elements with a fixed width/height that have the "arrow"-graphics (left/right-arrow) as background-image: a#leftarrow { display: inline-block; background: transpa...

How to invoke Firefox Prism application from Firefox plugin?

I want to invoke a Firefox Prism application from Firefox plugin (I'm currently learning to make one). I also want to pass few variables to the page being opened in Prism application. These variables would fill some form elements in that page. How can I achieve these two? EDIT Someone might ask why I wanna do that but, believe me, i...