JSON api is handier in most places, but I have a few quick hits where the plaintext version is gonna work just fine. Full docs are at http://bit.ly/apidocs and more tips on http://blog.bit.ly/
Anyone that knows me knows that the first thing I do with new technology is figure out how to make it play music. So it makes sense that a week-or-so in to my Tumblr blog, I would create an mp3 player for it. So here is my first stab at it. You can see it in action at the bottom of this blog.
Love this mp3 player widget but I do not love javascripts that slow down page load. I hacked this script (by modifying the bookmarklet version that dankantor also posted) and inserting it with a body onload javascript event. The result, your tumblog loads fast and the streampad player loads afterwards. Here’s what you need in your template to make this work:
I just read an email with the subject “oh shit this is awesome hack” and was not disappointed. You can download a copy of any YouTube video as flv or mp4 simply by prepending youtube.com with “pwn.”
I send lots of emails via Gmail, and I hate waiting for the full Gmail UI (chat list, inbox, etc) to load every time I want to send a quick note. Jenny and I riffed on this topic awhile back on Hackaddict, where we talked about a nice little bookmarklet for composing messages ( http://bit.ly/11Xgv ). This works pretty well, but still takes quite awhile to load.
This morning, I suddenly had the insight to hack around with any iGoogle Gadgets for composing Gmail gadgets to see if I could find anything faster. After a few minutes I struck gold and found this link loading in an iframe: http://bit.ly/gCompose
NOTE: if this link doesn’t work, see the UPDATE at the bottom of this post!
This loads in about 1s, doesn’t show chat or inbox, and still performs autocomplete on the recipient address fields. I am going to use this exclusively for authoring new emails now.
One of the the ways I know this is going to save tons of time is by not loading inbox or chat. When I just want to fire off a quick email, inbox and chat always end up diverting me into 5 minutes of distraction from whatever I was doing. GTD! This bookmarklet is the perfect workflow for getting things done and keeping focus.
*** UPDATE: *** if the above doesn’t work, you probably have a different link for your Google Account to this compose page that depends on a special “mid” flag in the URL.
To make this work, first install the Gmail gadget for iGoogle: http://bit.ly/qWO3
Open the Compose window from the gadget on iGoogle:
Right click on this window, and choose to open the frame in a new window so you can get the location:
The important part here is to get the correct “mid”:
Now, either bookmark this page, or, substitute your “mid” for “141” in this bookmarklet and add it to your bookmarks bar:
Or, you can do the same substitution in this ubiquity command:
CmdUtils.CreateCommand({
name: "gmail",
preview: "Opening gmail compose window window",
description: "opens a laser fast gmail compose window",
author: {name: "kortina"},
execute: function() {
var document = Application.activeWindow.activeTab.document;
var f='http://www.google.com/ig/gmailmax?hl=en&mid=141&view=comp';
a = function() {
if (!window.open(f, "gmail.bookmark.by.kortina", 'location=yes,links=no,scrollbars=no,toolbar=no,width=600,height=480'))
location.href=f;
};
a();
}
});
If anyone knows a way around this “mid” business, please post in the comments, but unfortunately this seems to be the only way to make the compose window load on different Gmail accounts. Sorry for the confustion, folks!