I just started playing around with Mozilla Jetpack, and I love it so far. I wrote a little code that displays an icon in the statusbar that, when clicked, brings up a notification:
var myTitle = 'Hello World!';
var line1 = 'I am the very model of a modern Major-General,';
var line2 = 'I\'ve information vegetable, animal, and mineral,';...
Hi,
I am experimenting with Jetpack and I would like to parse all the years in a given html page and then wrap the year with a link to the Wiki page. I tried the code in jquery and there it works but now I am using it in Jetpack and it gives an error $(doc).replace is not a function. I am definitely new to Jquery / Jetpack so maybe I am ...
I'm playing around with jetpack to change the title (and ideally the favicon) of certain pages.
Firebug is showing that the HTML of the page has been changed correctly but Firefox just won't update the title of the window and/or tab.
This has to be possible, somehow, since Twitter Search is doing exactly that. It's updating the title...
Is it possible to access and trigger the tab loading image within a Firefox tab using jetpack? I want to create a jetpack that will trigger the tab loading image when it is performing a query but i'm not sure if this is even possible.
...
This code will work with Jetpack in Firefox:
jetpack.tabs.open("https://www.google.com/calendar");
How can I do the same in Thunderbird? (if I run this code there it gives me a "browserWindow is null" error)
...
Well , i have tried Split("?") and Split('?')
both give the same error ( link.split is not a function) , so i assume that there is a way to be able to split in jetpack but not using this Split ?
maybe jQuery ? hope someone can help in this issue.
Got it , it is a href Split , so yeah as jordan said , it was not a string . so i used x...
Hi,
Is there way in jetpack(mozilla's extension development framework) , to find the the visited links in a page?
BTW: jquery's a:visited works in firebug , but not in jetpack. i'm guessing
it's part of jetpack's security.
...
I'm looking for some guidance on how to replace requests for a specific javascript file with another file that I'll package with the Firefox addon.
...
So, I'm working with some JS in Firefox and also working with the jetpack sdk. I am working in a JS editor, and then I run the sdk through the command line. However, when there is a bug there is no way to debug this because the JS is being run/loaded before the page and the DOM so firebug is to no avail.
Can anyone recommend a better t...
I'm now using the new version of the Jetpack API of which allows you to create addons for Firefox using a JS framework.
The 'panel' object is easy to use - but I'm struggling to find a way to position it. The documentation simply states (Jetpack Panel API)
panel.show(anchor) DomElement
But I'd like to position the panel in the bottom...