Recent activity
Subscribe to this feed
jez replied on October 04, 2009 22:43 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
Anyone trying my scripts from some time ago might find that they no longer work in the new Ubiquity parser (in v0.5). I actually haven't been using Ubiquity for a long time, and haven't kept the scripts up to date. Sorry about that. When I get some time I'll have a go at getting it all to work with the new parser. My goal is to allow you to type "send this using google-apps" vs "send this using gmail" and also to be able to specify a default. I can't say when I'll get time to even start on this.
Heather, have you found anything in your investigations?
Jbuzzrd: I don't have a lot of info on how it all works. Most of the code was plagiarised from other sources with only a hint of understanding about how it worked. So there's not much info I can give you. In a general sense, google apps runs the same way as gmail, but with a different URL, with different cookie names, and so on. I'm not sure why the contacts wouldn't work for you - they worked OK for me at least for a while.
A comment on the idea "New tab-command and bookmark-command" in Mozilla:
These don't let you select an unlinked URL and open it in a new tab. See the "open-tab" below. – jez, on September 03, 2008 22:28
jez replied on September 02, 2008 13:11 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
jez replied on September 02, 2008 12:37 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
jez marked one of Aza Raskin's replies in Mozilla as useful. Aza Raskin replied to the problem "[Ubiquity] add-to-calendar command problem". jez and 3 other people think it's one of the best replies.
jez replied on September 02, 2008 05:27 to the problem "ubiquity says gmonkey is undefined when attempting to email a picture" in Mozilla:
I think, for me, it has something to do with having more than one tab at gmail. The second tab isn't able to accept "gmonkey" commands, but the "email" command finds that tab and tries to use it. If I switch to any tab AFTER the offending one, then the message dialog comes up, but the body is prefilled in with:
"From the page ubiquity says gmonkey is undefined when attempting to email a picture."
When on any tab BEFORE the offender, it works just fine. So for me, I just have to make sure I only have one gmail tab open.
I think the code that searches for the gmail tab should fail to match any that aren't capable of sending emails. In my case the URL was http://mail.google.com/?ui=2&ik=redac... As it stands, anything that has ://mail.google.com/ will match.
jez replied on September 02, 2008 05:13 to the problem "ubiquity says gmonkey is undefined when attempting to email a picture" in Mozilla:
jez replied on September 02, 2008 05:12 to the problem "ubiquity says gmonkey is undefined when attempting to email a picture" in Mozilla:
-
jez started following the problem "ubiquity says gmonkey is undefined when attempting to email a picture" in Mozilla.
-
jez started following the idea "New tab-command and bookmark-command" in Mozilla.
jez replied on September 02, 2008 04:11 to the idea "New tab-command and bookmark-command" in Mozilla:
Try this:
CmdUtils.CreateCommand({
name: "open-tab",
takes: {"url": noun_arb_text},
preview: function( pBlock, urlObject ) {
if (urlObject.text) pBlock.innerHTML = "Opens a new tab with "+urlObject.text;
else pBlock.innerHTML = "Opens a new tab";
},
execute: function( urlObject ) {
if (urlObject) Utils.openUrlInBrowser(urlObject.text);
else Utils.openUrlInBrowser("");
}
});
This works for me, but my browser (well, TabMixPlus actually) is configured to open in a new tab, in most cases. Let me know if it works for you. If you don't specify a URL, it opens a blank tab.
jez replied on September 02, 2008 00:52 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
A comment on the problem "[Ubiquity] add-to-calendar command problem" in Mozilla:
Check out the topic "Ubiquity does not work with google apps for domains". – jez, on September 02, 2008 00:51
jez replied on September 02, 2008 00:49 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
Looks like they know about the bug. See the "Ubiquity add to calendar command_problem" topic. Same fix as mine.
In his fix, Aza also enhanced the feedback when an event is created. I'll see if I can splice it into my offerring soon. See http://labs.toolness.com/trac/ticket/150 for info on the bug and links to the patches.
jez replied on September 01, 2008 22:20 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
I've now put up version 5 on my tools site, and that version reinvents the calendar commands "add-to-calendar" and "check-calendar", based on Smitty's instructions. Use like this:
add-to-calendar go to lunch with mum tomorrow
and
check-calendar today
Strangely, I couldn't get "add-to-calendar" to work for me, until I adjusted the call to addToGoogleCalendar(eventString) to be addToGoogleCalendar(eventString.text). Without that change, it seems that the name of the object was being given as the event title, and funny characters probably caused it to fail to add. Looks like a but to me, but I'm new to all of this, and not a Javascript programmer, so I could have it all wrong here. Smitty, did you test adding a calendar event?
Adding a calendar entry doesn't refresh the calendar tab, so it might be nice to add that in.
jez replied on September 01, 2008 12:31 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
I now have a version (0.4) that looks for the domain, so you don't have to set the variable at the top of the script. This works as long as you have a tab opened on mail.google.com/a/yourdomain. The next step might be to retrofit the old gmail stuff, so that if it can't find a google apps email URL, it will then assume you have a gmail tab and revert to the original behaviour.
jez replied on September 01, 2008 11:09 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
jez replied on September 01, 2008 10:45 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
I was thinking that it'd be nice if the "email" command could auto-detect whether you're logged into a gmail account or a google apps account, and act accordingly - even getting the domain automagically from when it runs findGmailTab(). I might have a go at that idea, so the calendar will have to wait.
jez replied on September 01, 2008 10:43 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
jez replied on September 01, 2008 09:35 to the problem "Ubiquity does not work with google apps for domains" in Mozilla:
I've done what Smitty did and just replaced the strings. Only I cut and pasted the functions and type defs into my own add-on, and they replace the ones that are there, so I won't lose anything when I upgrade. This seems to be a reasonable compromise until I can work out how to add new commands without javascript errors. If you wanna play, get the v0.2 version from my tools page http://tools.rebel-it.com.au/ubiquity/. Still with no calendar, but that's next.
| next » « previous |
Loading Profile...
