I'm writing a Firefox add-on that do something after the webpage is completely loaded.My current code is
var target = this;
const STATE_STOP = Components.interfaces.nsIWebProgressListener.STATE_STOP;
const STATE_IS_WINDOW = Components.interfaces.nsIWebProgressListener.STATE_IS_WINDOW;
const STATE_IS_DOCUMENT = Components.int...
I'm using SVN to manage my Firefox extension project, and this project contains an XPCOM component. Firefox is loading directly from my working directory by placing a text file with the working directory's path in the ./extensions directory of my user profile. When Firefox starts, my extension fails to load & overlay; examining the Error...
I want to write a script to firefox that in the moment I start to write address in the addressbar it change the language to the one I'll choose (in the add-on).How do I do it?
...
Hey, I'm trying to get an extension to wait for a xml message from another program over an internal port. Just something like waiting for a single UTF-8 string that has something like:
<?xml version="1.0"?>
<status received="true" state="started"></status>
and
<?xml version="1.0"?>
<status received="true" conn="closed"></status>
I...
Does anyone know if there is a Firefox extension which shows the exact mouse cursor hotspot?
...
I have created an extension to show a sidebar in firefox.
Now i need to display a tree like structure where the third level will be dynamic and loads a particular link on clicking.
I know how to create the three level hierarchy but with static data.. heres the code
<treechildren>
<treeitem container="true" o...
How do I get the current url inside a firebug extension when for example pressing a button?
...
Hi Guys,
Is there a javascript library the can recognize phone numbers in a web page? Just like what skype did on their firefox plugin.
Or do you know a way on how to do it? Websites or any tutorial that do the same would be very helpful.
Your reply is greatly appreciated.
Best,
...
My extension works on an application, which requires user login. Once the user has logged in, I need to read the cookies and use them in my XMLHttpRequests.
So initially I need to check if the cookie is set, if not, I direct the user to the login page. Once logged in, I need to read the cookies and send it as part of my further requests...
I'm trying to create a conditional overlay for firefox's new addon manager in minefield 3.7 (aka firefox 3.7)
I'm trying the following:
overlay chrome://mozapps/content/extensions/extensions.xul chrome://greasemonkey/content/addons.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion<3.7
overlay chrome://mozapps/cont...
I need to develop an add-in (as a bar) that will monitor user browsing data using Mozilla Firefox (priority) and other web browsers (Chrome, Safari, etc.).
I have already done this using IE, but I need the same for Mozilla Firefox too. Any idea, if this is possible, and how to integrate Firefox add-in with the ability to interact with m...
my firefox extension has an object myExt .
myExt = {
request: function(){
//adds dynamic script element to the current webpage's head tag
},
callback: function(json) {
//do something with this
}
};
myExt.request adds a dynamically added script element to a server that returns json, i want the json to be sent to myExt.c...
I'm having some problems with a select all/ none function. (I didn't write it, I'm trying to fix it!)
It currently looks like this:
rsfindmod.SelAll = function(){
document.getElementById("ListBox").selectAll();
document.getElementById("ListBox").focus();
}
It's being used on a dynamically generated set of links, so there's no ...
since my extension's pageload is triggered even when I view css or js files, i want to add another check that triggers my extension only when the current page's content-type is text/html .
//eg: at my page load handler
function onPageload(){
// only want to proceed if content-type reflects a text/html or */html page
if ( contentTyp...
I'm trying to use jfeed to grab track names from bbc radio audioscrobbler style recently playing feeds, see http://ws.audioscrobbler.com/2.0/user/bbcradio2/recenttracks.rss
for an example.
Using the example.html that comes with Jfeed, the following works correctly on my local system (Win7). However, when I call the exact same script wi...
Hi,
I created a canvas object in my firefox plugin and now, I want to access the same from a webpage (The feature on the webpage will only work if the plugin is installed and the browser is FF).
Now, usually we access DOM elements inside a page through the browser plugin. How can I access it the other way round - i.e access the canvas ...
Hi all ,
I am working on an Firefox - addon . To modify an url to
another with all its parameters same .Could you please suggest me
references.. I am struggling very hard to understand interfaces /
services .Could you please help me with how and when and what
interfaces-methods are called.. I want to know somewhat like this
https...
I want to write a Firefox extension that acts exactly like the built-in RSS feed scanner (as an exercise). It should do the following:
On each new page / tab load, it should scan the content of the page for RSS feeds
If there are RSS feeds in the page, it should put a button in the location bar that the user can click
On clicking the b...
How do I pass data and messages between 2 Firefox Add-Ons (the way Google Chrome does it, here)?
...
I am working on a simple Firefox Extension, and I need a list of the user's bookmarks. I have found the nsINavBookmarksService class which appears to be the recommended way of manipulating bookmarks since Firefox 3.0. Strangely I don't see a method that I could use to get a list of all the bookmarks in a folder. I need some way of creati...