Skip to content

Instantly share code, notes, and snippets.

CmdUtils.CreateCommand({
name: "bugzillathis",
icon:"http://www.geckozone.org/favicon.ico",
takes: {"input": noun_arb_text},
homepage: "http://gist.github.com/61813",
author: { name: "A.BLANC", email: "amau96@gmail.com"},
license: "MPL",
description: "quick link to bugzilla",
preview: function(previewBlock,input) {
@amau96
amau96 / imdb-preview
Created February 5, 2009 23:48
Ubiquity script to have a preview of the description of a movie from IMDB
//fonction to transform link
function processNode() {
var href = jQuery(this).attr("href");
if(/[a-z]\:\/\//.exec(href) === null) {
if(href[0] == "/")
jQuery(this).attr("href", "http://www.imdb.com" + href);
}
}
@amau96
amau96 / tpb for ubiquity
Created February 4, 2009 00:36
Find a torrent without opening thepiratebay in a new window. Click on the double green arrow to direct start the download
//fonction to transform link
function processNode() {
var href = jQuery(this).attr("href");
if(/[a-z]\:\/\//.exec(href) === null) {
if(href[0] == "/")
jQuery(this).attr("href", "http://thepiratebay.org" + href);
}
}