Skip to content

Instantly share code, notes, and snippets.

@Ventero
Created March 14, 2011 23:29
Show Gist options
  • Save Ventero/870074 to your computer and use it in GitHub Desktop.
Save Ventero/870074 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name MenuCommander test
// @namespace test
// @include *
// ==/UserScript==
GM_registerMenuCommand("foo", function(){alert(1)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment