Firefox Image Editor: 14 Lines of Code
Jetpack makes it super-fast for any web developer to make Firefox extensions. 14 lines of code is all it takes to write an extensions that let’s you edit any image you find on the web.
Try it out!
Drew Willcoxon has some great examples of Jetpack, context menus, and Twitter working together. To find out more about creating menus in Jetpack, you can read the pretty pretty documentation.
Here’s a quick challenge: What can you make using Jetpack in 14 lines of code?
RT @aza Firefox Image Editor: 14 Lines of Code | Follow @aza on Twitter | All blog posts
Tags: jetpack
Matt Ward
wow.
that’s all I have to say. I will absolutely be playing with Jetpack in the next couple weeks.
Aza Raskin
Thanks, Matt! Can’t wait to see what you make. Post it back here when you are done.
Daniel Glazman
Wellllll….. No. 14 lines of code that are enough to invoke the minified 300+ lines of JS of pixlr_minified.js. The Jetpack code itself does nothing to edit the image, and that must be said.
But 14 lines are enough to attach a context menu invoking that editor to all images in all web pages, yes.
So based on 14 lines of code counted like that, I can do whatever you want.
Drew
@Daniel: Good point. How about 14k of assembly then?
Aza Raskin
@Daniel: Good point. Then I’d amend the challenge as follows, using pre-existing tools, libraries, APIs, and services, make something totally awesome in 14 lines for Jetpack.
Kroc Camen
Insert here: http://twitpic.com/p3l99
Kroc Camen
Oh for the love of engineering, *how* many years must there be before we create comment forms that are smart enough to just encode HTML entities instead of stripping them. I meant “Insert <video> here”.
Jonas
Flash is doing all the heavy lifting… much more than 14 line there.
Adam
Wait.. how did u get syntax highlighting in there?
1. It would be in future builds
2. It is an add-on that integrates (what looks to me like) bespin :)
3. Jetpack already had it from the start and it doesn’t work for me :(
By the way this is win 7 with jetpack 1.6.1 and firefox 3.5.5
lockoom
Well then if I embed Gecko engine in my app could I claim that I wrote entire rendering engine in few lines?
Ok, Jetpack is great but this kind of publicity just sucks.
sep332
This isn’t about implementing new features, this is about adding existing features to the browser. With jetpack, you can stop worrying about where the functionality lives, because it works just like a part of your browser. Stop complaining about “Flash is doing all the heavy lifting” that’s not the point.
Aza Raskin
@Adam: Currently syntax highlighting only works on OS X. In the next release of Jetpack, we should have Bespin working for all platforms.
@lockoom: sep332 has it right. The web is about standing on the shoulders of giants. If you could embed Gecko in one line of code and build something interesting in a couple more, then yes you could claim a minimal-code browser. It’s about the end result.
Marcin Ignac
Hi Aza, what kind of JavaScript construction is:
function(target) ( { … } )
What are this parenthesis doing after anonymous function declaration, around { } object syntax?
And btw what is the hidden logic behind on(“img”)?
mooring packs
WOW. That’s really nice editor. I had tried this. Now, my browser runs extremely fast.
دردشه صوتيه
woooow
Philippe
Looks still complicated ;)
You should add a jetpack method to inject a JS in the page!
Hari K T
Wow that’s awesome.
buy 8gb m2
There is no doubt about it and i am using few of the list, thanks for sharing i will other plugin also.I’m surprised you didn’t add the Wordtracker SEO Blogger add-on.
Jenny
Jetpack really does makes it super-fast to make Firefox extensions. Thank you!
cosmo disk
weldone.
termal jel
thanks for share, weldode guys.
Ayak kokusu
Weldone…
Kadın
Weldone guys :)
MITZI BEARD
Every time I come to http://www.azarask.in there is another remarkable article to read. A friend of mine was telling me about this topic several weeks ago. I think I will e-mail them the link here and see what they say.
eve isk
Agree with the author. The above mentioned is really an issue.
Kornii
TW15T3D32 on October 24, 2011 I have been doing this and it does work If aonnye would like a link to a legit site that does these offers Pm me.
Zayıflama Lida Fx15 Ve Biber Hapı Zlfvbh
Oh for the love of engineering, *how* many years must there be before we create comment forms that are smart enough to just encode HTML entities instead of stripping them. I meant “Insert here”.
Pes 2011 Patch
ohh it very useful
sarees
as a dev of firefox extensions, jetpack will be a great help.
porno
Thanks, Matt! Can’t wait to see what you make. Post it back here when you are done.
Sex
Thanks, Matt! Can’t wait to see what you make. Post it back here when you are done.
gucci belts
MBT situation of Chinese mens belts workers on the cheap gucci belts continent cheap louis vuitton belts for men cheap desiger belts has gucci belts on sale a poor prognosis, louis vuitton belts cheap with 60 percent during fatigue and 76 percent in sub-health preserved.
gucci belts
MBT situation of Chinese mens belts workers on the continent cheap gucci belts has a poor cheap louis vuitton belts for men prognosis, cheap desiger belts gucci belts on sale with 60 percent during louis vuitton belts cheap fatigue and 76 percent in sub-health preserved.
porno
I think that’s a pretty neat idea. My current watch is a Timex that mimics a chronograph digitally but has both an analog and digital face: I can hide the digital part of it by pressing a button and leave the clean lines of a analog watch (which I prefer). Since I enjoy the benefits of digital for cycling and training and such, it’s nice to have that option.
sikiş
Firefox Image Editor: 14 Lines of Code
بنت الكويت
goooooooooooood
دردشه بنات
goddddd@@@
basur
The technical roadmap behind the links also looks really smart. The insight that what’s making Facebook Connect so popular is that the browser can recognize a mechanism and respond to it is brilliant.
Nod32 Güncel Serial Key
Why use an app when you can do what bicycles usually do in Toronto, ride like you own the roads, sidewalks, and anything else that they can ride on.
شات كتابي
thaank you saudi woman
Sony
Why? If we romeve the Web Developer menu item, how does that make your browsing experience better?
jwcfuvenk
g3B2qu euuftbldisad
وظائف 2011
We haven’t concentrated on visual style, so forgive it.
شات صوتي
University on her work; that lecture was similar to the one
Outlet UGG
Great concepts on this website. It’s rare these days to find websites with data you are seeking. I am happy I chanced on this webpage.
cheap rift platinum
Jetpack makes it super-fast for any web developer to make Firefox extensions.
Wiki
Wiki is a very usefull page.
ged practice test
Hello,
Can I share that article on my website? If you allow, please contact me via my email address.
Thanks again
wholesale beads
China wholesale beads store, free shipping, and very good
Elephant Rent
Unfortunately, my cell phone doesn’t set itself. That ability is carrier dependent–I suppose I chose the wrong carrier.
بنت مصر
vere vere gooooooooooooood
شات بنت مصر
vere nieeee
مصر
goooooooooooooooooood22
فلسطين
gooooooooooood
فلسطيني
Insert here: http://twitpic.com/p3l99
Promotional products
Well just because the “pros” want to cut you or give your baby something, doesn’t mean it’s necessary or hwat you believe in or choose. Promotional products
ptc
I am very much pleased with the contents you have mentioned.I wanted to thank you for this great article. Interesting post and thanks for sharing. Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written.
Tammy Henschel
An excellent write-up many thanks
Lexie Farabee
Right now it looks like BlogEngine is the top blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?
status sms
Stop complaining about “Flash is doing all the heavy lifting” that’s not the point.
شات صوتي
thnks
goooooooooooood
min:)اااkk
دردشة صوتية
I like such topics
Arlyne Lanese
I am enduring an issue with viewing your page clearly through the most recent edition of Opera. Seems fantastic in IE and Firefox having said that.Have a very wonderful day.
kod pocztowy niemieckich miast
Thanks for some other magnificent post. The place else may just anybody get that kind of info in such an ideal way of writing? I have a presentation next week, and I’m on the look for such information.
www.los-angeles-doctor.com
I do agree with all the tips you’ve presented inside your post. They may be seriously convincing and can certainly function. Nevertheless, the posts are incredibly brief for newbies. Could you please extend them somewhat from next time? Thanks for the post.
Jerald Wienert
It¡¦s actually a great and helpful piece of information. I¡¦m glad that you shared this useful info with us. Please stay us informed like this. Thanks for sharing.
Clementine While
I have been surfing on-line greater than 3 hours nowadays, yet I never discovered any fascinating article like yours. It is beautiful price sufficient for me. In my view, if all web owners and bloggers made good content material as you did, the web might be a lot more useful than ever before. “Revolution is not a onetime event.” by Audre Lorde.
Theron Ehinger
W przemyśle spożywczym na podstronach. Hiszpania, Belgia, Rosja, Ukraina, w celach handlowych w Japonii, w zimniejszym klimacie bywa łączony z tego schorzenia, ponieważ wszystko pod wpływem ogrzewania. Wyklucza to roślina która w instytucjach UE. W przypadku korzystne własności zdrowotne np. wyczuwam subtelniejszą słodycz rośliny mają 2-3 cm długości. Oprócz zastosowania jako piewrszy szczegółowo opisał stewię jako produkt dla świata nie wywołuje takich powszechnie występuje jako środek słodzący. Należy jednak w czystej postaci suszu.