Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is The difference between Firefox extension and plugin?

Tags:

In Firefox there are plugins and extensions. Could you please explain to me why these addons have different name and tabs ? Does they differ so much so they need different names? I think it's a little unnatural to differ these things, extensions have so much and more functionality, what they lack for comparing to plugins?

like image 286
Tom Smykowski Avatar asked Nov 07 '10 22:11

Tom Smykowski


People also ask

Is plugin and extension the same?

The main difference between the two is that plug-in provides extra functionality which does not modify the core functionality. While extension is made for modifying core functionality, may be provided due to version change or improvement.

What is a Firefox plugin?

Extensions are like apps for Firefox. They add features to Firefox to make browsing faster, safer, or just plain fun. See all extensions. Translation tools. See staff picks. YouTube customization.

Does Firefox use plugins?

Add-ons let you add bells and whistles to Firefox. You can get add-ons that compare prices, check the weather, change the look of Firefox, listen to music, or even update your Facebook profile. This article covers the different types of add-ons available and how to find and install them.

How do extensions work in Firefox?

An extension adds features and functions to a browser. It's created using familiar web-based technologies — HTML, CSS, and JavaScript. It can take advantage of the same web APIs as JavaScript on a web page, but an extension also has access to its own set of JavaScript APIs.


1 Answers

The difference is both historical and real:

  • plugins are compiled, loadable modules, originally descended from NPAPI; they can live outside of the browser's process space (which leads to all kinds of fun interoperability issues and vulerabilities). The most common examples of these are Flash and Java - both request a sub-window ("viewport" or "canvas" (not HTML5's canvas - that's something else altogether: a native part of the webpage)) inside the webpage and handle it themselves, in a way that's largely independent of the browser.
  • extensions are written mostly in JavaScript and XUL. Since the extensions act as part of the browser, they have wider access privileges than JS-in-a-webpage, but they are still subject to some limitations. The most common way of integration is to hook into some part of FF's functionality and extend it.

So, although the plugins and extensions might appear to be related, they're very different technologies behind the scenes.

like image 88
Piskvor left the building Avatar answered Nov 06 '22 00:11

Piskvor left the building