The Venkman addon (officially called JavaScript Debugger) likes to print lots and lots of information using window.dump (or at least I assume that's what it's using since I don't know any other way to print to console). I would like it if the console contained only the output from my code, and not all the output from Venkman. I don't min...
Hi,
I'm interested in writing javascript that will programmatically perform a screen capture of what is viewed in the browser, and save the file to the hard disk. I'd like to be able to type in a list of keywords, and use a search engine's api to programmatically view the page, and take a screen capture.
My first question is, does this...
For some reason my webkit definition works on chrome but in firefox 3.5.11 I am not seeing my gradient.
html {
height: 100%;
}
body {
height: 100%;
background-repeat: no-repeat;
}
body{
height:100%;
background-color: #eaebeb;
background-image: -moz-linear-gradient(top, #eaebeb, #fff);
background-image: -webkit-gradient(li...
This is an html page :
<html>
<head>
<title>
Frame Set
</title>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<!--<script type="text/javascript" src="frame.js"></script>-->
<link rel="stylesheet" href="frame.css" type="text/css" media="screen" />
<script language="JavaScript" type="text/javascript">
$(document).rea...
I've got a XUL tree element, and would like to scroll the rows up and down on a per-pixel basis, instead of by whole rows, if possible.
Browsing through the source to mozilla-central, and Thunderbird's copy at comm-central, it looks like I can only scroll by rows, but I guess I'm hoping that I missed something.
(The other option I saw ...
I'm looking into developing a Firefox extension, and would like my 'toolbar' to run in the 'client' area, since it will appear and disappear based on the page that they are on. One example of a client bar that does something similar is the Invisible Hand toolbar. Most of the extension tutorials show how to build a 'regular' toolbar.
...
Mozilla's documentation from elementFromPoint explains that the coordinates are not in physical pixels, but "CSS pixels". Exactly what are CSS pixels? I was under the impression that a pixel in CSS was the same as the physical pixel.
If this is not the case, how does one convert between physical and CSS pixels?
...
I've downloaded the xul demos from this page, a single file called "top.xul", but when I open it on Firefox it says the file for each demo is missing.. Is it just here? Do someone succeed to run the demos?
...
-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
...
Hi ,
I am using the following javascript:
function doPrint(){
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
var exe = Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
exe.initWithPath("C:\\temp\\print.bat");
exe.launch();
}
print.bat has the following com...
How to enforce definite length encoding with CMS in NSS?
I am trying to get NSS's CMS encoder to encode with DER, but the folks as mozilla have apparently only worried about BER encoding (as far as I can tell.) I am able to get definite encoding with primitive types, but all constructed types have indefinite encoding.
Code I am curren...
The documentation on ChromeWorkers says that they have "chrome privileges", and chrome privileges are supposed to mean they can do anything, but when I create a ChromeWorker and try to use Components I get an error that 'Components' is not defined..
So my question is 1) why is Components not available? 2) what is available to a ChromeWo...
Hello!
I'm having trouble copying HTML from JEditorPane to system clipboard and then pasting into other applications:
OpenOffice 3.2 - Says "Requested clipboard format isn't available"
Thunderbird 3.13 - Does nothing on paste
Firefox 3.6.9 - Accepts plain text but for example in GMail "Compose mail" does nothing on paste
I'm running ...
It's a Struts application.
I have to show some dynamic date in the left hand panel retrieving from DB or any session object e.g Notes.
If there is space between words then its working fine.
But while testing if I am entering some characters without space, then while showing the data in Left hand panel is crossing the table and coming on ...
I'm trying to build an extension to Firefox to get a page from a web server and put it in the browser's cache, so that when the user asks for that link, it'll be retrieved directly from the cache, instead of asking to the original web server.
But I'm having trouble with some pages which put headers to avoid cacheability, such as "Cache-...
Its a struts 1.2 application.
I have a java script function.
Its working in IE and Chrome but not in Mozilla.
It is supposed to change the button after clicking that button and perform some action.
function changeButton(obj)
{
obj.form.action=obj.form.action + "&submitType=Bucket Usage";
obj.form.submit();
document.getElementById("s...
Here's my rule:
#element {
background: -moz-linear-gradient(center top, #FFF 8px, #F2F2F2 24px, #F2F2F2 100%) repeat scroll 0 0 #F2F2F2;
}
I want to take that rule and apply it to all of the browsers that support a linear gradient. What would this rule's syntax look like for Chrome, Safari, and ... Internet Explorer?
I'm considerin...
I have uploaded my site to the server. FCKeditor is only working in Internet Exploder but not working on Mozilla. What should i do?
...
My extension needs to know that the tab is displaying something from the history rather than the latest loaded document.
onload doesn't seem to be the right event. It doesn't always fire.
...
I need a way to process HTML before it's actually loaded and parsed by Mozilla. Is there any content listener that I can use in my Firefox extension?
...