Slashdot Log In
Mozilla Jetpack, an API For Standards-Based Add-Ons
Posted by
timothy
on Thu May 21, 2009 02:03 PM
from the now-hand-me-that-metric-screwdriver dept.
from the now-hand-me-that-metric-screwdriver dept.
revealingheart writes "Mozilla Labs have released a prototype extension called Jetpack: An API for allowing you to write Firefox add-ons using existing web technologies to enhance the browser (e.g. HTML, CSS and Javascript), with the goal of allowing anyone who can build a Web site to participate in making the Web a better place to work, communicate and play. Example add-ons are included on the Jetpack website. While currently only a prototype, this could lead to a simpler and easier to develop add-on system, which all browsers could potentially implement."
Related Stories
[+]
Mozilla Jetpack and the Battle For the Web 280 comments
snydeq writes "Mozilla Jetpack makes it so easy to filter, modify, and mash up pages that it might end up pitting developers and users against content producers in a battle for the Web, writes Fatal Exception's Neil McAllister. By allowing users to modify the behavior, presentation, and output of Web apps and pages to their liking, Jetpack gives users the ability to 'patch the server, in a sense,' McAllister writes, bringing us one step closer to a more democratic Web. Good news for developers and users; not so good for SaaS providers and media companies that have a vested interest in controlling the function, presentation, and distribution of Web-based content and apps. In other words, as Jetpack produces fruit, expect more producers to call for 'guardrails for the Internet.'"
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
I want a real jetpack (Score:5, Funny)
Re: (Score:2)
You want a backpack with jets?
Who do you think you are, Boba the Fett?
Do you bounty hunt
for Jabba the Hut
to finance your 'Vette?
Say, not bad, but your scansion kinda falls apart on that last line. Maybe, "to get money to finance your 'Vette"?
Also, I'm not sure about rhyming "hunt" with "Hutt".
Re: (Score:1)
He forgot to credit MC Chris
http://www.youtube.com/watch?v=QRhnw1gFuDA [youtube.com]
Cough*Chrome*cough (Score:2, Insightful)
Re: (Score:2)
Google, you listenin'?
Agreed!
I use IE you insensitive clod! (Score:5, Funny)
Re: (Score:2)
Re: (Score:1)
Or to implement a standard -- see ODF the Microsoft way [ibeentoubuntu.com].
Re: (Score:2)
IE IS standards-compliant, just a different set of standards...
Re: (Score:2)
Re:What? More ways to hack a browser? (Score:5, Insightful)
Just what we need - more ways to mess up a browser. I thought we were supposed to be working towards standards not adding more extensions!
The idea *is* to use standards! People already make add-ons, they might as well be interoperable too.
Does this not make sense to you?
-Taylor
Parent
got xul? (Score:2, Insightful)
Re: (Score:2)
Standards... (Score:5, Interesting)
This is great for Firefox. I really hope this takes off, pardon the unintended pun. I'm just a little leery about the other browser makers picking this up and running with it. It will need to at least be a de facto standard before Google, Apple, Opera or Microsoft even consider using it. If it's controlled by Mozilla, they're not going to want to.
Also, (at least to me) the fact that it's difficult to write an add-on for a browser if you don't have anything but basic web development skills is what add-ons so useful. You know they're probably not going to be half-baked and have someone who (hopefully) knows what they're doing supporting it. Jetpack could lower the skill set bar too low. So to sum up, great for Firefox, but I don't think this is something that will be used across browsers once it's fully implemented, which it's not (yet)
Re: (Score:1, Interesting)
It will need to at least be a de facto standard before Google, Apple, Opera...
Isn't this very similar if not the same as Opera's widgets?
They just re-invented Greasemonkey (Score:3, Insightful)
I think they just re-invented Greasemonkey. But not well.
At least with Greasemonkey, there's a well-defined language. It's all Javascript. This thing seems to have some horrible mess of intermixed Javascript, CSS, and HTML. Plus it has JQuery built in, and a special symbol ("$") for it. (For a moment, I thought I was reading Perl.)
Having done some non-trivial work with Greasemonkey [sitetruth.com], I'm not sure this thing is a step up.
Re:They just re-invented Greasemonkey (Score:4, Informative)
You have no idea what you are talking about. Calling a mix of HTML, CSS, and JS a "mess" is uniformed FUD. The vast majority of the visible web is based on these three technologies, and at least in their current form, they are designed to work together pretty well. I'm not sure how you could have written any scripts in your life and not come to this conclusion. What exactly did you do with GreaseMonkey if you weren't using it to manipulate HTML and CSS?
Also, jQuery is terribly popular. Not including support for it would have been a huge oversight. Did you just step out of a time machine from 1999?
Parent
Re: (Score:3, Funny)
You have no idea what you are talking about. Calling a mix of HTML, CSS, and JS a "mess" is uniformed FUD. The vast majority of the visible web is based on these three technologies, and at least in their current form, they are designed to work together pretty well. I'm not sure how you could have written any scripts in your life and not come to this conclusion. What exactly did you do with GreaseMonkey if you weren't using it to manipulate HTML and CSS?
Also, jQuery is terribly popular. Not including support for it would have been a huge oversight. Did you just step out of a time machine from 1999?
Not trying to be a grammar nazi, but damn I want to see what Uniformed FUD looks like. I'm thinking hiking boots, bermuda shorts, maybe one of those weird mailman safari hats...
Re: (Score:1, Interesting)
I'm not sure how you could have written any scripts in your life and actually come to this conclusion, short of never having programmed in anything other than PHP and the various "web" languages. But language diatribes aside, even if you concede that web languages are the best thing since sliced bread, this "standard" is still pretty crappy.
Re: (Score:2)
Bollocks.
Specifically including "mozilla developer favorite javascript library" is not the right thing for them to do AT ALL.
By basing this around jQuery (and it looks like the jetpack code is dependant on it rather than just "supporting" it), I believe it is is fair to say that you pretty much say to developers using mootools, or prototype or any other library (and there are many) "my way or the highway", owing
Re: (Score:2)
All you'd have to do is run:
and your DOM/JS scope is clean. So if you want to use bog standard JS or any other library, the above is all you need to know about jQuery.
The reason the Jetpack dev's probably went for jQuery is because it is small, plays nice with other librar
Re: (Score:1)
The reason the Jetpack dev's probably went for jQuery is because it is small, plays nice with other libraries and is easily extensible.
And, for the above reasons, it is common for web oriented devs to be at least a little familiar with it already (which should reduce the severity of the average learning curve, making the new feature more likely to gain a critical mass of followers).
Re: (Score:2)
jQuery solves a totally different problem than prototype.. prototype is a bucket of widgets, whereas jQuery is more like a ruby-extension to javascript. It allows you to program in an expressive meta-language. This happens to make widgets easier to build as well, but the key is your custom API on top of library X,Y,Z can be coded using jQuery. I do this with Yahoo YUI all the time, for example.
Can't speak to mootools. But with a few exceptions, jQuery can work in conjunction with other javascript framewo
Re:They just re-invented Greasemonkey (Score:4, Insightful)
1 Mozilla uses Javascript for all addons, so I guess they have some idea of it.
2 You can't program native UI-Elements with Greasemonkey, and even if, they would live inside the website as Greasemonkey is more for "patching" existing websites.
Browser addons should survive a website navigation.
This thing seems to have some horrible mess of intermixed Javascript, CSS, and HTML.
This is called the web.
Parent
Re: (Score:1)
Uhm, "$" is not a "special symbol". It's a valid symbol that can be used in any Javascript variable names.
Re: (Score:2)
Poster is talking regards jQuery, and other javascript libraries, which typically use a function named "$" to select & augment elements from the dom.
By using jQuery and thus polluting the global function namespace in this manner, they exclude the ability to use other javascript libraries.
Re: (Score:2, Insightful)
That may be a valid criticism, but "For a moment, I thought I was reading Perl" indicates ignorance of JS in general?
Re: (Score:2)
Just enable jQuery.noConflict() then use jQuery.foo() like I do.
Oh great... (Score:1, Funny)
THATS GREAT!!!
Re: (Score:3)
So now I can have a badly coded addon that spans 5 horizontal widths, has tons of flash advertisements, and a <blink> tag?
THATS GREAT!!!
You see, the reason it's an add-on is because it's OPTIONAL!!!
Idiot.
The solution: (Score:1)
obligatory (Score:1, Funny)
my backpack's got jets!
Re: (Score:2)