Category: Jetpack
-
Make me run and support your favorite opensource project
Couple of months ago I started a little “via Twitter” only campaign and now I think it’s the time to give it more visibility, because the deadline is in 20 days. What? The main idea is: for every tweet [tooltip title=”Yes I Will” gravity=”e”][mark color=”yellow”]I will run 1[/mark][/tooltip] meter on Prague Marathon on September 8th…
-
Offline AddonSDK (#jetpack) activities
One of the coolest way to bring the knowledge to the masses is to …write an article for a magazine. I know it’s kinda old fashion, but there are a lot of people that are reading actually magazines. I will write 2 articles in next several days about JetPack and AddOns in general for JSMag…
-
Mozilla #JetPack: Create a simple debugger
So I wanted to create a simple JetPack debugger that will write me some data and will dump me some objects on my …Firefox error console. Here is the code. This simple tutorial shows : 0. How to use some of Firefox Services via Services.jsm 1. How to work with nsIConsoleService Why I need that?…
-
Mozilla Jetpack talk at #OpenCamp
Here is the background for my JetPack talk next week: I will be talking and hacking about: 0. What is an Addon and why we should create more of them. 1. What is XUL and what is JetPack about. 2. JetPack Architecture and structure. 3. JetPack API (panel, widget and more). 4. How to write…
-
Create a class-based library in #JetPack (addon SDK)
I just commit to GitHub a class based library called JPersona.. You can get the background color and text color of the active persona your Firefox is wearing and to do whatever you want. This example shows : 0. How to import LightweightThemeManager – the one responsible for handling Personas. 1. How to write class-based…
-
Get current active theme in #JetPack
I need to know ID of current active Firefox Persona in order to get the textcolor value from users.pref to be able to display different icons on my widget, because I don’t wont to display blue icon on blue background. This tutorial shows: How to access Addon Manager from a JetPack script How to get…