This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* v0.68 Google Wave Search */ | |
CmdUtils.CreateCommand({ | |
names: ["wave"], | |
icon: "http://wave.google.com/favicon.ico", | |
description: "Operates Google Wave Search", | |
help: (<> | |
<ul><li>Use the shortcuts on the left to quickly get into your Wave folders</li> | |
<li>Search for keywords and/or use the advanced options by typing or clicking them</li></ul></>) + "e.g. wave mozilla has:image -is:muted", | |
author: {name: "Michael Baer", homepage: "http://twitter.com/synapsos"}, | |
license: "GPL", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This is a template command. */ | |
CmdUtils.CreateCommand({ | |
names: ["what"], | |
icon: "http://www.mozilla.com/favicon.ico", | |
description: "A short description of your command.", | |
help: "How to use your command.", | |
author: {name: "Your Name", email: "[email protected]"}, | |
license: "GPL", | |
homepage: "http://labs.mozilla.com/", | |
arguments: [{role: 'object', nountype: noun_arb_text}], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const | |
R = 'http://routerank.com/'; | |
I = 'http://lh5.ggpht.com/_9QZJW2qJEGU/SwNLnkFvRAI/AAAAAAAAAqM/1tB2zfjefYQ/routerank.png'; | |
N = 'Michael Baer'; | |
T = 'https://gist.github.com/synapsos'; | |
L = 'GPL'; | |
S1 = '<span style=\'text-transform:capitalize\'>'; | |
S2 = '</span>'; | |
//v1.65 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//version 1.56b - Search for a route with Google Maps (supports many languages) | |
var from_prepos; | |
var to_prepos; | |
var geo = CmdUtils.getGeoLocation().country; | |
//German | |
if ( geo == 'Germany' || geo == 'Austria' || geo == 'Switzerland' ) | |
{from_prepos = "von"; to_prepos = "nach";} else { | |
//Japanese | |
if ( geo == 'Japan' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Davos Vote */ | |
CmdUtils.CreateCommand({ | |
names: ["davos"], | |
icon: "chrome://ubiquity/skin/icons/youtube.ico", | |
description: "Vote", | |
help: "Just vote.", | |
author: {name: "Michael", homepage: "http://twitter.com/synapsos"}, | |
license: "GPL", | |
homepage: "http://youtube.com/davos", | |
preview: function preview(pblock) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* v0.3 OpenClosed.de */ | |
CmdUtils.CreateCommand({ | |
names: ["openclosed", "oc"], | |
icon: "http://synapsos.kilu.de/ubiquity/openclosed/favicon.ico", | |
description: "Suche für Öffnungszeiten in Deutschland.", | |
help: "z.B. open kaufland berlin oder oc freiberg aldi 09599.", | |
author: {name: "Michael Baer", homepage: "http://twitter.com/synapsos"}, | |
license: "GPL", | |
homepage: "http://www.openclosed.de/", | |
arguments: [{role: 'object', nountype: noun_arb_text, label: "Filiale"}], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//function 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); | |
} | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//function 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); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//version 1.41b - Search for a route with Google Maps (supports many languages) | |
var from_prepos; | |
var to_prepos; | |
var geo = CmdUtils.getGeoLocation().country; | |
//German | |
if ( geo == 'Germany' || geo == 'Austria' || geo == 'Switzerland' ) | |
{from_prepos = "von"; to_prepos = "nach";} else { | |
//Japanese | |
if ( geo == 'Japan' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" | |
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<head> | |
<title>Songza Search</title> | |
</head> | |
<body> | |
<div id="ubiquity-preview" style="display: none;"> | |
<style> | |
.gresult img { |