I need to close the tab which displays my webpage, by the click of a button. But firefox does not allow to close the window by javascript as long as it is not opened by javascript.
If I set the value of dom.allow_scripts_to_close_windows to be "true", then even normal window.close() works too. But that is not a good solution. :(
I tried...
Hi all,
I am a newb developer as far as Flex and Flash is concerned. This is what I'm trying to do:
1) Send a HTTP request to our server (with a custom made URL). The URL basically tells the server to send data in a CSV format.
2) The server sends a 200 OK response, which has Content-Type: application/csv and the payload is pure CSV da...
Background:
Those of you who use FF3 may be familiar with an interesting new attribute of the address bar. It allows you to do sub-string auto-complete in order to filter through URLs that you have viewed previously.
Therefore, if you want to open the following URL:
http://longservernamehere.thatyou.nevercanremember.com/support/asdf12...
Hello!
I am new to firefox extension building and would like some help on an application I am creating. I would like to create a firefox extension that on choosing to activate the firefox extension, opens a new tab and sends the script to the page to display a certain amount of text or perform some sort of activity.
The only problem wit...
Hey all,
For firefox is there anyway to determine the TopLeft location of the "viewport" (ie the client area)? I know the height/width is available via window.innerHeight and window.innerWidth. But I also need to know "innerTop" and "innerLeft" (which don't exist).
Thanks,
Rob
...
We see this occasionally in web apps on Firefox. What triggers it, and how do we prevent it? It seems to happen sporadically and the error message yields no useful information about line locations.
...
I'm looking to create a binary that takes an html string on stdin, and spits out a well formed xml string representing the DOM. Basically "tidy" but using FireFox.
Any ideas where I should hook into the FF source code?
...
I have some simple CSS:
#someElement {
background-color:black;
color:white;
}
It looks ok in the browser, but when I go to print it in Firefox it comes out as black text on a white background. I imagine this is some sort of ink-saving feature, but is there any way around it?
...
Hi guys I'm trying to add a css footer but can't it to work right. For now I'm tweaking it like crazy and if it appears fine in firefox it gets all messed up in Internet Explorer 7 ahd sometimes is halfway up teh page :(. Is there any good example out there for a css based footer.
Consider that my page has a fixed width, 2 columns of v...
Hi everyone!!
I have a div element that when I click on it on IE, it shows me a clue tip. But, when I click in Firefox (or Chrome), this tip doesn't shów at all.
I have firebug installed but I dont't have good experience on using it.
With firebug, can I know why this tip isn't showing?? How can I do that?
Thanks!!
...
Hey,
I would like to use an image in firefox extension I am developing. Can someone tell me how to include the image. I used the following but it did not work.
var divTag = content.document.createElement("img");
divTag.id = "div1";
divTag.src="chrome://ff_extension/content/image1.gif";
divTag.setAttribute("align","center");
...
Hello,
since a few days I'm trying to figure out if we can use sIFR (2.0.7) for our shop. After the first testpages were running fine, I tried to implement it to our menu-template-file of the xcart-shop-system. I've written the needed blocks in {literal} parts for smarty and the new menu is looking fine in FireFox 3. Unfortunately our t...
Conkeror has changed the way I browse the web: it's basically Emacs + Firefox with javascript based configuration in .conkerrorc rather than elisp configuration in .emacs.
I've built up a huge library of .emacs customizations over the years by getting little bits and pieces from others. I'm just starting with Conkeror but the fact that...
I'm having issues with internet Explorer. I have a link which duplicates a file upload element on a form. The code which duplicates also appends a hyperlink to the duplicated upload element which is supposed to remove the duplicated element a simple remove this link.
The issue is that this code runs fine in firefox but it doesn't run at...
I'm showing images from other websites as thumbnails. To do this I display them in a smaller img tag so the browser does the size decrease.
The problem is that the quality of these images (which I have no control of) is diminished.
Also they look much better in FF and Safari than in IE.
Is there a way to make these images look better w...
My friend wants me to turn his Cocoa application into a firefox plugin. The application takes the URL of the site where the data is to be downloaded from, and downloads it, taking the load off of the browser. My question is, since firefox plugins are written in javascript (I think), and the application is written in objective C, is this ...
I want to disable the custom Save Dialog of IE and Firefox OR add a new "Save to My Location" option in it.
I think I need to create plug-ins for IE and Firefox.
...
Hi Folks,
We have a web-site configured for Integrated Security in IIS on the W2003 Server. When we attempt to connect using IE it is asking us for Network credentials. If we supply those credentials we get an Access Denied.
If we configure Firefox to allow that web-site as a trusted URI, we can connect and use the site without any pro...
Generally speaking, when given a cookie that has no expiration period, modern browsers will consider this cookie to be a 'session cookie', they will remove the cookie at the end of the browsing session (generally when the browser instance closes).
IE, Opera, Safari and Chrome all support this behavior.
However firefox (3.0.9 latest pro...
I have an ActiveX control that works fine in Internet Explorer and the ActiveX Control Test Container program. The actual behavior of the control is split in two parts, where one part is the ATL gunk that interfaces with the OLE host, and the other part is the real meat, which just receives callbacks for window attach, sizing, drawing an...