Skip to content

Instantly share code, notes, and snippets.

View andyed's full-sized avatar

Andy Edmonds andyed

View GitHub Profile
@andyed
andyed / Google Reader Ubiquity Command
Created February 15, 2009 12:34
Google reader view command for Firefox ubiquity (v0.5, use feb 15 for older)
var noun_type_readerviews = new CmdUtils.NounType( "GoogleReaderViews: Shared | Reading List (default)",
["Shared", "ReadingList", "Starred"]
);
CmdUtils.CreateCommand({
names: ["gread"],
author: {name: "Andy Edmonds", homepage: "http://surfmind.com/lab/mozilla/ubiquity/greader/"},
icon: "",
license: 'MPL',
arguments: [{role: "object", nountype: noun_type_readerviews, label: "places source"}],
var noun_type_gistpages = new CmdUtils.NounType( "Gist Page Name",
["Dashboard","People News", "Company News", "All News", "People List", "Company List"]
);
var noun_type_gistdomains = new CmdUtils.NounType( "Gist Domaisn",
["People","Companies"]
);
CmdUtils.CreateCommand({
@andyed
andyed / Multicolumn Lizard Feeder
Created January 31, 2009 02:33
Multi-column hack for Lizard Feeder (greasemonkey)
// ==UserScript==
// @name Lizard Feeder: Multicolumn + Focus Context
// @namespace feeds.mozilla.com
// @include http://feeds.mozilla.com/
// ==/UserScript==
/*
* Multi-column (just add float left, line 29)
* unsuccesful port to DOM mutation
* Version 0.0.1 Jan 26, 2009
@andyed
andyed / Ubiquity Command: Places
Created January 28, 2009 14:05
Ubiqutiy Command for Places
//Derived from http://people.mozilla.org/~dietrich/ubiquity.js
var sources = ["history", "bookmarks", "starred", "tagged", "session"];
var sorts = ["freshness", "age", "frequency", "infrequency", "recency", "staleness"]
var noun_type_places_datasource = new CmdUtils.NounType("datasource", sources);
var noun_type_places_sorts = new CmdUtils.NounType(" sort attribute", sorts);
var debugMode = false;
@andyed
andyed / lizardfeeder.user.js
Created January 27, 2009 03:50
Greasemonkey Tweak of Feeds.Mozilla.com
// ==UserScript==
// @name feeds.mozilla.com
// @namespace feeds.mozilla.com
// @include http://feeds.mozilla.com*
// ==/UserScript==
/*
* Version 0.0.1 Jan 26, 2009
* Initial version by Andy Edmonds