Skip to content

Instantly share code, notes, and snippets.

@ucnv
Created May 20, 2009 08:21
Show Gist options
  • Save ucnv/114696 to your computer and use it in GitHub Desktop.
Save ucnv/114696 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Open tako3
// @namespace http://userscripts.org/users/ucnv
// @include *
// @require http://tako3.com/js/getako
// ==/UserScript==
GM_registerMenuCommand('Open tako3', function() {
GM_xmlhttpRequest({
url: 'http://tako3.com/json/all',
method: 'GET',
onload: function(res) {
eval(res.responseText);
GM_openInTab('http://tako3.com/' + getako(location.href, 1)[0]);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment