I am not sure if this is possible, partly because I have no clue what the terminology would be...
I want to create an extension that, among other things, will have a feature where, when the user clicks on the status bar icon a small window will slide out and inside that window will be a website login page. They would then login as norma...
I'm debugging an old Infragistic grid. One of the javascript functions executes more times than needed. It was coded to be executed when a user clicks a cell in the grid. However, sometimes it runs when on mouse is over the cell. I'd like to know if there's a way to track what event caused this function to run.
Multiple executions o...
In Firefox, whenever a link is clicked, there is a dotted outline around the item.
Is it possible to modify it so that I can select the div that is being highlighted, or customize the area that it outlines?
...
About 2 weeks ago I nominated a Firefox Extension I made for public release. It seemed stable enough and received a number of positive reviews, so the time felt right.
I haven't heard anything from Mozilla yet; how long should I expect to be waiting before things progress?
Thanks!
...
The following JQuery function is not working entirely. IE 7 processes both alerts, but FF 3.0.10 only the first alert is fired. What did I do incorrectly?
function submitClick() {
var submitButton = '#<%=SubmitButton.ClientID%>';
alert('got here');
$(submitButton).click(function() {
alert('got here too');
...
I was fixing up an extension that was written for Firefox 2 to work with Firefox 3. One of the changes was to use:
window.getBrowser().addEventListener("load", checkURL, true);
instead of going through just window.
The only problem is that the "load" event seems to occur more than once per page load. I have also tried listening for "D...
While working on a wysiwyg editor, I hit the wall of Firefox restricting access to the clipboard (haven't yet tested Webkit).
Can someone explain WHY copying to the clipboard is restricted?
I just cannot think of a single way that this can be used nefariously, and use-cases abound where lack of 'copy' support is a problem.
In fact, who...
I'm trying to limit the minimum height and width of a chrome (xul) window. The window itself is opened using the window.openDialog method. I tried using the minwidth and minheight window propertiet, but that does not seem to have any effect on the window.
I also tries to limit the size by handling the onresize event as follows:
onresize...
I'm writing a firefox extension and really need to listen on TabOpen events and get some details about tab that was opened. But I can't figure out how do I get an actual tab from event object that my callback receives. Is it somewhere in event.data? Is there a way to inspect this object?
Some code that I have tried so far but it doesn't...
Does anybody know a good Firefox extension to monitor the total page size, including all supplementary files. I know there is one that monitors the viewstate size in the bottom bar and that's invaluable as an ASP.Net developer, but I wonder it there's one that monitors the entire size--sort of like the Net tab of Firebug.
...
How to check if specific web browser (chrome, firefox, opera) is installed on system? (C++/Windows platform). Maybe this can be check in somewhere in registry?
...
Hi,
I created a firefox extension as a sidebar, this will load a specific url. It is showing fine but the context menu in this sidebar is not showing. What might be the reason?
Thanks in advance,
Manoj
...
I'm using Firefox 3.5b4.
This alerts [object Object],[object Object]:
var jsonString = '[{"foo": "one", "bar": 1}, {"foo": "two", "bar": 2}]';
var jsonObjects = JSON.parse(jsonString);
alert(jsonObjects);
This alerts an empty string, i.e. jsonObjects is null.
var jsonString = "[{'foo': '1', 'bar': 2}, {'foo': '3', 'bar': 4}]";
var j...
In Firefox, if you go to Tools -> Add-ons, in the list of extensions each one has an "Options" button. I would like to enable this for my extension and navigate the browser to a webpage where they can set options relating to my extension. The extension is an XPCOM extension, so if I can just register for a callback when the button is p...
I want to capture the keystrokes on a table's cells.
I have the following code that is working on IE but not on Firefox/Chrome.
<table id="testing" onkeydown="alert('testing')">
<tr><td>testing</td></tr>
</table>
Any suggestion?
...
What is the best way to parse (get a DOM tree of) a HTML result of XmlHttpRequest in Firefox?
EDIT:
I do not have the DOM tree, I want to acquire it.
XmlHttpRequest's "responseXML" works only when the result is actual XML, so I have only responseText to work with.
The innerHTML hack doesn't seem to work with a complete HTML document...
I tried using
onPageLoad: function() {
alert("hi");
}
but it won't work. I need it for a Firefox extension.
Any suggestions please?
...
Hi,
Is it possible for me waiting for a user to click a link, and upon clicking the link the link's text would be obtained?
Maybe by using onClick?
...
sometimes i use debug code to alert something in javascript (for example, matching something in regular expression), but forget a modifier and and the alert is in an infinite loop (or if the loop matches the pattern 300 times). If using Firefox, the alert keeps on coming out, and there is no way to even close the tab, the window, or the...
I have a listview that includes links to open an iframe with jQuery and thickbox. This new window allows the user to edit the field information with the iframe. Update button -
<input type="submit" name="bUpdateDate" value="Update"
onclick="self.parent.location.reload(true);self.parent.tb_remove();"
id="bUpdateDate" />
This refresh...