Skip to content

Instantly share code, notes, and snippets.

View andyed's full-sized avatar

Andy Edmonds andyed

View GitHub Profile
@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
@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 / 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
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 / 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"}],
// ==UserScript==
// @name Lizard Feeder: Focus/Context + Word Cloud
// @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.4 Feb 20, 2009
@andyed
andyed / pdxmoz
Created June 11, 2009 02:59
Firefox SessionStore.js -> Tab URL List w/ Favicons
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
@andyed
andyed / SEOPositionPlus.js
Created July 1, 2009 02:10
Google Analytics mod to extract SERP position
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
@andyed
andyed / Ubiquity 0.5 Places Command.js
Created July 11, 2009 01:52
Places for Ubiquity next-gen beta, using semantic roles
//Derived from http://people.mozilla.org/~dietrich/ubiquity.js
var sources = ["history", "bookmarks", "starred", "tagged", "session"];
var sorts = ["revisit", "rediscover", "top", "rare", "new", "old"]
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 / TabRotaterJetPack.js
Created August 18, 2009 15:33
Kiosk TabRotater JetPack
/*
@author: Andy Edmonds
@url: http://www.uxagile.com
@update: http://uxagile.com/kiosk-tab-rotator-jetpack-for-firefox/
@title: Jetpack Kiosk Tab Rotator
@description: For you information radiator screens
@license: MPL
*/
// TODO