News for hackers. Stuff that matters.
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by ieatpaste on Wednesday May 20, 2009 @09:05PM (#619653)
I don't see how this is different than Greasemonkey (other than addition of HTML/CSS). Is this more of a control issue due to Greasemonkey ported to Chrome?
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by DEinspanjer on Wednesday May 20, 2009 @09:21PM (#619673)
The big difference is that JetPack has a simple API to manipulate the browser chrome. There will always be some things that the existing extension model allows that JetPack would have problems delivering, but it allows a huge subset of extensions that just need to execute some JS, maybe tweak some chrome, and display some content to be much simpler for people to develop without having to learn XUL.
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by pufuwozu on Wednesday May 20, 2009 @09:16PM (#619665)
I may be wrong but this extension shows more API's than Greasemonkey does. You're able to use Firefox's statusbar, tabs and notifications.
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by natrius on Wednesday May 20, 2009 @11:50PM (#619847)
It has some extra functionality, but it also looks like it has less. There doesn't appear to be a way to execute cross-domain XHRs yet.
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by abi on Thursday May 21, 2009 @12:32AM (#619900)
Use jquery for cross-domain xhr.
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by natrius on Thursday May 21, 2009 @12:38AM (#619907)
That's passable, but Greasemonkey does it in a more secure way than script tags, and it supports more features, like setting headers.

http://wiki.greasespot.net/GM_xmlhttpRequest

Re:Mozilla Labs' Jetpack: add features to Firefox using only... by jeresig on Thursday May 21, 2009 @01:25AM (#619949)
This isn't using "script tags," it's using the (relatively) new Cross-Site XMLHttpRequest: http://ejohn.org/blog/cross-site-xmlhttprequest/
Re:Mozilla Labs' Jetpack: add features to Firefox using only... by natrius on Thursday May 21, 2009 @03:01AM (#620028)
Oh, that's nifty. I vaguely remember hearing about that, but I guess I'm so used to having to avoid using shiny new things that when the opportunity actually arises with extension code, it's hard to recall. Thanks for the info.