Showing posts with label add-ons. Show all posts
Showing posts with label add-ons. Show all posts

Saturday, 1 October 2011

Firefox 8 beta short review!


Been using Firefox 8 beta for 24 hours. Here are my first impressions!

Compared to Firefox 7 Firefox 8 beta doesn't feel faster. It actually feels the same as Firefox 7. Maybe there are some small improvements when it comes to speed but when I was using Firefox 6 beta it felt much faster than Firefox 5. Same goes for Firefox 7. When I was using the beta it felt much quicker than Firefox 6.

The are no design changes as well. Maybe mozilla are focusing more on performance rather than design. They are probably fixing known issues and stuff. The new and cool thing I've noticed is the new tab animation when you have 3-4 or more open tabs. If you want to move the active tab left or right it doesn't drop like it used to be. It moves the inactive tab. It's a bit hard to explain. You have to see it yourself. Another thing I've seen on the internet is that it's faster on 64bit machines. I'm running a 32bit windows but if you have 64bit machine and you feel any difference in performance in Firefox 8 beta let us know by sharing your thoughts in the comments below! 

Saturday, 3 September 2011

Mozilla Add-on Builder Tutorial

Learn how to create an add-on from start to finish with the Mozilla Add-on Builder.Build Firefox add-ons by using javascript,html and css.And the best thing is that they can be installed without having to restart Firefox.In this short video the folks from Mozilla explain how!Just watch and enjoy : )





Wednesday, 20 July 2011

How to make a Firefox add-on tutorial:extension development:Advanced Topics

Video:
Stupid/Awesome Extension Development Hacks
In this video, Jono Xia explains how to go further in extension development using XPCOM, overlays, XHRs, DOM manipulation, etc. in order to make Firefox do things you might have never thought possible.

JavaScript Code Modules
JavaScript code modules let multiple privileged JavaScript scopes share code. For example, a module could be used by Firefox itself as well as by extensions, in order to avoid code duplication.

Creating Custom Firefox Extensions with the Mozilla Build System
This article describes how to set up the development environment for a large, complex Firefox extension with a need for high-performance, use of third-party libraries in C/C++, or interfaces not exposed via XPCOM.

Multiple Item Packaging
This article explains how to create an extension package with multiple items "extensions".

Extension Documentation Index
If you can't find what you're looking for in the above articles, try the Mozilla Developer Center's Extensions landing page.













Tuesday, 12 July 2011

Firefox extension development tutorials : Localization

Once you know the basics, these guides will help you with intermediate to advanced extension development topics. 

Learn how to localize the names and descriptions in extension install manifests.  


Localization and Plurals
This article explains how to properly localize strings with plurals. 

BabelZilla overview
Learn how the BabelZilla localization community works.


Web Hosting




Monday, 11 July 2011

Add-on SDK and Add-on Builder Beta

We’re very happy to announce two new Firefox add-on development tools from Mozilla: the Add-on SDK and the beta release of Add-on Builder.
Creating add-ons for Firefox is now quick and easy. If you’re familiar with JavaScript, HTML, and CSS, then you already have the necessary skills to build add-ons using these tools. In addition, all add-ons created with the Add-on Builder or Add-on SDK are restartless by default, meaning users do not have to interupt their browsing to begin using your add-on right away.
There are two ways for developers to create their add-ons. The Add-on Builder Beta is a hosted, online build environment, and provides a robust code editor with built-in revisioning, module selection, testing tools and build tools. Alternatively, there is a downloadable SDK for those who are comfortable with a command line interface and prefer to use their own development environment. The video below gives an overview of both tools:
We’ve carefully selected a common set of Javascript APIs to help you perform the most common tasks in add-on development so that you can: build a user interface, interact with the browser, and access and manipulate web content. You also have the ability to share your work with other developers – either selectively or through addons.mozilla.org.
We continue to add new APIs to keep pace with new Firefox features, as well as making sure the existing APIs work with potentially incompatible versions of the browser. You’ll also have the pick of a number 3rd party APIs developed by the Mozilla community. Two examples of available add-ons built with these tools are CopyShortURL and Grooveshark Remote Control
To get started, once you’ve watched overview video above, check out the tutorial video which covers the building of an add-on from beginning to end using the Add-on Builder on the new Add-on Builder and Add-on SDK page. Also, take a look at the extensive documentation and APIs for use with your add-ons.
When you’re ready, log in to the Add-on Builder to build your add-on online, or download the Add-on SDK to work locally.

Source:http://blog.mozilla.com/addons/

Web Hosting



How many Firefox users have add-ons installed? 85%!

The revamped Add-ons Manager in Firefox 4 provides a rich experience for add-on discovery and management, and to power that service Mozilla receives aggregate data on add-on usage. We previously estimated that at least a third of Firefox users had chosen to install an add-on, but knew the number was higher than that.
We’re very excited to report that 85% of Firefox 4 users have chosen to install an add-on — that’s more than 60 million users every day! This number doesn’t include Personas, and even excludes popular add-ons bundled with other software that the user hasn’t actively agreed to install.
Graph of add-on usageFirefox 4 desktop add-on usage from March 22 through June 19, 2011, excluding Personas and several commonly-bundled add-ons
When we first saw this number, we expected it to drop as more and more users upgraded to Firefox 4; remarkably, it has stayed between 89% and 85% since launch in March. It’s also interesting to note that on the weekends when Firefox (and Internet) usage slumps, the percentage of users with add-ons increases, indicating those who browse on weekends are more likely to have customized Firefox.
We’ve also learned that on average, users have 5 add-ons installed, with the following distribution:
Graph of add-on distributionFirefox 4 desktop add-on distribution from June 19, 2011, excluding Personas and several commonly-bundled add-ons
With more than 2.5 billion downloads and 580 million add-ons in use every day in Firefox 4 alone, there’s no better time to browse our gallery and make Firefox your own.

Source:http://blog.mozilla.com/addons/

Web Hosting



Making your add-ons compatible with Firefox 5 and 6

The new rapid release schedule for Firefox is in effect, and you can already get preview versions of Firefox 5 and Firefox 6 in the Beta and Aurora channels, respectively. Firefox 5 will most likely be released in a couple of weeks, and Firefox 6 should follow 6 weeks later.
Because of the fast-paced schedule, these new releases are less problematic for add-on developers given that they include very few compatibility-breaking changes. This post covers all known add-on compatibility issues with Firefox 5 and 6. If you have run into other issues and don’t see them mentioned here or documented anywhere else, please let us know.
We have already done an automatic compatibility upgrade to Firefox 5 for all add-ons that qualified for it, and we will do a similar upgrade for 6 sometime this week, maybe later today.
How do we select which add-ons to upgrade? They need to be compatible with the previous Firefox version, they must not have binary components (since they usually need to be rebuilt) and they need to pass special compatibility tests that we create based on the known breaking changes, which are listed below.

Firefox 5

  • The value of navigator.language no longer reflects the language of the Firefox UI (Bug 55366). To obtain the UI language you can use the general.useragent.locale preference instead.
  • The default behavior of setTimeout and setInterval when no wait time is set has changed (Bug 610077). If you set the timer to a very low value the actual wait time would be rounded to 10ms before. Now, that minimum has changed, and it depends on where the code is running.
  • A number of words are now reserved in JavaScript, even when not in strict mode (Bug 637204). The newly reserved words are class, enum, export, extends, import and super. You shouldn’t use these words anywhere in your code, even as object property names. Some add-ons that are affected by this might have been automatically upgraded to Firefox 5 compatibility, so please check your code and look for any errors during execution in Firefox 5.
  • Instantiating nsICertOverrideService (and perhaps others) at startup can make Firefox unusable (Bug 650858). We caught this one recently, and we’re still gauging its impact. The bug is only manifested if you try to instantiate a service before the load event. This is easy to avoid:
WRONG
var comp = Components.classes[...].getService(...);
var MyObject = {
init: function() {},
...
}
window.addEventListener("load", function() { MyObject.init(); }, false);
WRONG
var MyObject = {
comp : Components.classes[...].getService(...),
init: function() {},
...
}
window.addEventListener("load", function() { MyObject.init(); }, false);
RIGHT
var MyObject = {
comp : null,
init: function() {
this.comp = Components.classes[...].getService(...);
},
...
}
window.addEventListener("load", function() { MyObject.init(); }, false);
Just don’t instantiate any components before the load event. Better yet, follow our performance best practices and don’t instantiate anything until it’s needed.
  • Mac OS SDK builds for the beta are missing (Bug 653971). This affects you if you build binary components for Mac OS. There are several bugs involved in this, but they are being tracked in this bug. It should be fixed within a few days.
  • More documented changes in Firefox 5 for developers.

Firefox 6

  • The app.update.timer preference was replaced by the app.update.timerMinimumDelay preference (Bug 614181).
  • A few interfaces (rarely) used in add-ons have been removed: IWeaveCrypto (Bug 651596), nsIDOMDocumentTraversal (Bug 655514) and nsIDOMDocumentRange (Bug 655513).
  • window.top is now read-only (Bug 654137). This affects your add-on if you use an undeclared variable called top in a chrome script.
  • javascript: and data: URLs entered into the location bar no longer inherit the principal of the currently-loaded page (Bug 656433). Maybe this won’t affect any add-ons, but there are many workarounds and odd pieces of code in the wild, so it’s better that you double check if you run any code using these types of URL.
  • New Web Developer Sub-menu in the Tools menu (Bug 653221). Because of all the new developer tools being included in Firefox, it was determined that it was best to group them in a sub-menu. This means that many overlays – those that rely on these menuitems being direct children of the Tools menu – will be affected. Your overlays will continue to work, but your items will most likely end up at the bottom of the menu instead of where you want them.
  • Reordering of the History menu (Bug 625322) and the Bookmarks menu (Bug 625325). This may affect your add-on if you overlay or work on those menus.
  • The clearUserPref method no longer throws if the pref doesn’t have a user value (Bug 487059).
  • XPCOM binary component registration no longer ignores Module::kVersion (Bug 656331).
  • Implement Site-Specific Privacy Preferences (Bug 573176). This should only affect add-ons that rely on certain preferences (privacy, remember passwords, and others) being in the main preferences window.
  • More documented changed in Firefox 6 for developers.
Source:http://blog.mozilla.com/addons/ My themes have been automatic updated to work with Firefox 6 as well : ) 

Web Hosting