Hi guys,
My highly anticipated meeting with Koby Menachemi from CorssRider happened yesterday and it seems CR & § are a match made in heaven.
CrossRider's mission is to make browser extension developer lives livable by providing a cross browser dev backbone that would compile y(our) html, css & js to the formats required by each of the leading browsers (all the way back to IE7). Koby described what they developed as similar to Greasemonky but more powerful (and obviously cross-browser). They are a young startup but like us are at this point much more interested in development than in bizdev. Either way they see a great potential for in opening their product to ShiftSpace to beta test and enjoy. What this ideally mean is that our cross browser issues will be managed by CrossRider (not withstanding the mundane webdev crossbrowser issues obviously) and that CrossRider will be able to tackle quite a lot of edge cases with the over-ambitious userscript that we've been developing in the last few years.
I was quite frank
with Koby about our process and the discussions we've been having
on the mailinglist lately. As I told him, § needs a breath of
fresh air, and CR might just be it. Relieving a lot of burden off
of our busy shoulders and allowing us to focus on other
challenges. I also shared some of the thoughts we had about the
potential of HTML5 postMessage, about a possible business models
working alongside our Open Source model and our thoughts about
decentralization and so on...
I am sure the feedback and collaboration we can offer Koby and Shmueli (the core CR team) will be a valuable resource for both parties. Koby will provide us with beta-access to crossrider.com and we can start exploring this new exciting collaboration.
Koby had some questions about how we're using the unsafe window and other special requirements we might have. He'll probably do a better job of representing them.
Koby, welcome to the list, do consider the time difference with most of our team being based in New York (and some of them currently at SXSW).
cheers,
Mushon Zer-Aviv
Shual.com
- design studio
§ ShiftSpace.org - an
opensource layer above any website
¶ Mushon.com - blog
× @mushon - Tweet me
--
Mushon Zer-Aviv
<shual_gray.gif> Shual.com - design studio
§ ShiftSpace.org - an opensource layer above any website
¶ Mushon.com - blog
× @mushon - Tweet me
--
You received this message because you are subscribed to the Google Groups "ShiftSpace-dev" group.
To post to this group, send email to ShiftSp...@googlegroups.com.
To unsubscribe from this group, send email to ShiftSpace-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ShiftSpace-dev?hl=en.
I've just returned from Austin TX and have a bunch of work to catch up on, so I won't be able to read your message in detail immediately. My cursory read sounds very promising!
So would the next step be for you to provide a login for us? Is there documentation online I could look at in the meantime?
Best,
-Dan
Slightly off topic, Will the extensions use the hardware acceleration of
the native JS engines on the browsers? some kind of passthru?
If that problem can be solved, we can focus on scalability better. ;-)
>> <shual_gray.gif> Shual.com <http://shual.com/> - design studio
>>
>> � ShiftSpace.org - an opensource layer above any website
>> � Mushon.com <http://mushon.com/> - blog
>> � @mushon <http://twitter.com/mushon> - Tweet me
1. unsafeWindow - with Crossrider you have the unsafeWindow object only for FF and IE. Chrome does not provide you with any access to the page. You can call JS functions on the page but can not read JS variables, etc.
2. Mootools - currently we do not support mootools natively (as we do for jQuery). Do you use special version of mootools? My gut feeling is that we can overcome this issue.. it should work for FF (as we execute the code in the same way GM is running) and there shouldn't be a problem to run it on Chrome, so as always we've left with IE. I believe with minor tweaking it should work well.
On Wed, Mar 16, 2011 at 8:12 AM, Koby Menachemi <ko...@crossrider.com> wrote:1. unsafeWindow - with Crossrider you have the unsafeWindow object only for FF and IE. Chrome does not provide you with any access to the page. You can call JS functions on the page but can not read JS variables, etc.We don't need unsafeWindow. It's more important to have a safe communication channel between the page script and the background script across all browsers.
Are there any plans to support Safari? Safari and Chrome extension designs are only cosmetically different from what I can tell.
2. Mootools - currently we do not support mootools natively (as we do for jQuery). Do you use special version of mootools? My gut feeling is that we can overcome this issue.. it should work for FF (as we execute the code in the same way GM is running) and there shouldn't be a problem to run it on Chrome, so as always we've left with IE. I believe with minor tweaking it should work well.What do you mean by support jQuery natively? Do you guys provide a jQuery based API?
David
That's good :)Shouldn't be any problem communicating between tabs and the background script. IE doesn't support messaging yet but it will come soon.btw, how do you implement "background code" with GreaseMonkey?
What do you mean by support jQuery natively? Do you guys provide a jQuery based API?When you create an app by default you have jQuery.You don't have to use it but for the mass of JS developers it's really helpful when it comes to cross browser html/css development.
On Wed, Mar 16, 2011 at 3:15 PM, Koby Menachemi <ko...@crossrider.com> wrote:
That's good :)Shouldn't be any problem communicating between tabs and the background script. IE doesn't support messaging yet but it will come soon.btw, how do you implement "background code" with GreaseMonkey?
Via closures and some clever use of setTimeout. But we're ready to go full bore w/ a pure messaging design. We're nearly there as I wrote the whole system around an decoupled event model.
What do you mean by support jQuery natively? Do you guys provide a jQuery based API?When you create an app by default you have jQuery.You don't have to use it but for the mass of JS developers it's really helpful when it comes to cross browser html/css development.
Certainly. Can we just turn this include off?
Are you guys looking at JetPack at all for FF?
David
wow, that's sounds like really hard task (way out of my league ;-)With Crossrider it should be VERY easy to implement: you have background JS that run once where you can put all your events, etc and you can send messages to it and from it, for example: appAPI.message.toActiveTab({id:1, msg:"this is my message"}), appAPI.message.toAllTabs(msg) and appAPI.message.toBackground(msg)
Our goal was to enable different libraries that you can choose from. Right now we support only jQuery (it was simple marketing decision) but we hope to support Mootools soon.
All you need to do in order to include extenal JS (or css) file is like this:@include "http://your-domain/my.javascript.js"it will include this file at the top of your source code (just like pasting it) and it will honor browser caching policy, so if you set this file (on your server) to expire within a day it will fetch it from the cache until then.