This file contains 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
var noun_type_gmCommand = { | |
_name: "GM command name", | |
// Returns all GM commands available for the current page. | |
getCommands: function(){ | |
var commands= new Array(); | |
var menuitems = jQuery(context.chromeWindow.document).find('#userscript-commands-sb > menupopup > menuitem').get(); | |
for (var i=0; i<menuitems.length; i++){ | |
var cmd = menuitems[i]; |
This file contains 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
// ==UserScript== | |
// @name JavaScript Alert Message | |
// @author Erik Vold | |
// @namespace alert | |
// @include * | |
// @version 1.0 | |
// @description This will create a javascript alert with the provided string. | |
// ==/UserScript== | |
alertMessage= function( str ){ |
This file contains 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
CmdUtils.CreateCommand({ | |
names: [ "mcafee siteadvisor", "siteadvisor" ], | |
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'text'} ], | |
homepage:"http://erikvold.com/tools/ubiquity/mcafee/mcafee-siteadvisor", | |
icon:"http://www.siteadvisor.com/favicon.ico", | |
author:{name:"Erik Vergobbi Vold",email:"erikvvold@gmail.com"}, | |
description:"Search McAfee SiteAdvisor for site information on the provided domain.", | |
help:"Just provide a domain or url for a site information lookup on McAfee SiteAdvisor.", | |
version:"0.2", | |
execute:function( args ){ |
This file contains 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
CmdUtils.CreateCommand({ | |
names: [ "alexa siteinfo" ], | |
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'text'} ], | |
homepage: "http://erikvold.com/tools/ubiquity/alexa/alexa-siteinfo", | |
icon: "http://www.alexa.com/favicon.ico", | |
author: {name:"Erik Vergobbi Vold",email:"erikvvold@gmail.com"}, | |
description: "Search Alexa for site information on the provided domain.", | |
help: "Just provide a domain or url for a site information lookup on Alexa.", | |
version: "0.2", | |
execute: function( args ){ |
This file contains 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
// ==UserScript== | |
// @name IMDB Vote Command | |
// @author Erik Vold | |
// @namespace imdbVoteCommand | |
// @include http*://*.imdb.com/title/*/ | |
// @version 0.1 | |
// @datecreated 2009-07-14 | |
// @lastupdated 2009-07-15 | |
// @description Allows you to vote on a movie via Greasemonkey menu command. | |
// ==/UserScript== |
This file contains 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
// ==UserScript== | |
// @name Temporary Video Fix for Charlierose.com | |
// @author Erik Vold | |
// @namespace charlieroseTempVideoFix | |
// @include http://www.charlierose.com/view/interview/* | |
// @version 0.1 | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @datecreated 2009-08-28 | |
// @lastupdated 2009-08-29 | |
// @description |
This file contains 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
// ==UserScript== | |
// @name Diff for gist.github | |
// @namespace http://userscripts.org/users/40991 | |
// @include http://gist.github.com/* | |
// @include https://gist.github.com/* | |
// @require http://github.com/cho45/jsdeferred/raw/986ebd69231919f0f3a261d8c33ae913e4b4dca8/jsdeferred.userscript.js | |
// @require http://gist.github.com/105908.txt | |
// ==/UserScript== | |
(function() { |
This file contains 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
#!/usr/bin/env ruby | |
# -*- ruby -*- | |
# twitter command line client | |
# That's What I Call Lame | |
# 09nov2008 +chris+ | |
require 'json' | |
require 'open-uri' |
This file contains 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
// ==UserScript== | |
// @name Header Selector Test | |
// @author Erik Vold | |
// @namespace headSelectorTest | |
// @include http*://* | |
// ==/UserScript== | |
(function(){ | |
function test(){ | |
var head,diff=[],start,iterations=100000; |
OlderNewer