Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# Made by Pieter de Bie <frimmirf@gmail.com>
# Based on a "Pastie" task by someone
require "tempfile"
GIST_URL = 'http://gist.github.com/gists'
GIST_LOGIN_URL = 'https://gist.github.com/session'
USERNAME = "pieter"
TOKEN = "SweetTokenPower"
// ==UserScript==
// @name JavaScript Open In Tab Menu Command [TEST]
// @author Erik Vold
// @namespace openInTab
// @include *
// @version 1.0
// @datecreated 2010-03-23
// @lastupdated 2010-03-23
// @description This simple test userscript will create a menu command which will produce a javascript alert with the provided string or ask you for one.
// ==/UserScript==
// ==UserScript==
// @name @icon test 1
// @namespace iconTest1
// @icon http://www.hoax-slayer.com/images/worlds-strongest-dog.jpg http://www.wmishops.com/magento/media/catalog/product/cache/3/image/298x/17f82f742ffe127f42dca9de82fb58b1/D/o/Dog51.jpg
// @resource cat http://www.dwmtech.com/images/cat23.gif
// @include *
// @version 0.1
// @author Erik Vergobbi Vold
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// ==/UserScript==
@satyr
satyr / contexpector.uc.js
Created April 3, 2010 03:50
contexpector.uc.js
// ==UserScript==
// @name Contexpector
// @namespace http://www.mozilla.org/MPL/
// @description Right click anywhere to DOMInspect the element.
// @include *
// @exclude chrome://global/content/alerts/alert.xul
// @exclude chrome://global/content/commonDialog.xul
// @exclude javascript:*
// @compatibility 3.5+
// @author LouCypher Alice0775 satyr
// ==UserScript==
// @name @icon test 2
// @namespace iconTest
// @icon data:image/gif;base64,R0lGODlhIAAgAPUAAP/39+/v7/fn5//n5+/e3ufn5+jT1uHGyM7IzsbGxtG9vr29vciztcStrbW1tbamq6uepaeVl5ycnJSUlJSHiZSEe4x7f4F7e4Rzdntrb29mantjWm1aWnhYUmRSUWBYWldSU1xKSExJSUpCQUI5QkI5OTk5OTExMispKSUhKSEhISEYISEYGBgWGBAQEAgICAAAACEYCCkpEFhSEHtzEI+KFbOxFtbLDdGphcOUhNmtluetkKWBeZB5YWReYwQFBiH5BAEAAD8ALAAAAAAgACAAAAb+wJ9wSCwaj8JEAcls/hKgVsBJHT5KsJXIiChCJpQLaPU5nSyTn8PngrlGnkXR5EL5JJDTat+G+f19fiscODpFCCg5HSgqLiklJCUlJy6VLykmLH8oHj0VRh06OzwsKipmKCgmkieSkSkvMCgjIiA/AEQhojklLip8biUpvyknq5QpIz0fRic8ODgbjoEwsSltLyuRJCghHA5GHyE5PCi+sX9+KiWNlSstL3VTRRceKBwiJyrpK38lPsjatEFxRFmLU5T+uFjRh4WFDCdApDDXhsItIub+tDDRws+LF/tgmIjAIEIESe8qdRmSIKHCdSdatPAFQwSEAQIUkDDRT9D+vAcfeqUTBOkECoYgDAwYcAAFvD8vlvygoILO0D2TWqxoFUGA1wgiaswICUOCEBEuTnBTEc9MzBklbMw4oUEAThw1atAIpOGHhUZqIU0ycU3GjR41brBIKoBABRs2YqQb8SMDCjcmTJCghM5FDRs3aLTA4NVABBbUYJT4QQAE5sw9V6iYKSNGCxQNvApg8MDCCNR+fAhh48ZSukwqRESAQEB3zpwaYK0Q/gNDpVYuF6LQEIEATucGDgjQQIG8CTk/IpzIUsIEWUceGDg
@Griever
Griever / UserScriptLoader.uc.js
Created April 7, 2010 12:35
Greasemonkey っぽいもの
// ==UserScript==
// @name UserScriptLoader.uc.js
// @author Griever
// @include main
// @description Greasemonkey っぽいもの
// @version 0.1.6.1
// @note 0.1.6.1 uAutoPagerize との連携ができなかったのを修正
// @note 0.1.6.1 .user.js 間での連携は多分できません。。
// @note 0.1.6 色々修正。unsafeWindow 使ってて動かなかった物が動くかも
// @note 0.1.6 Firefox 3.6 は切り捨てた
// ==UserScript==
// @name GM Style Return Test
// @namespace gmStyleRtnTest
// @include *
// @version 0.1
// @author Erik Vergobbi Vold
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// ==/UserScript==
var style = GM_addStyle("body{background-color:#F2F2F2}");
// ==UserScript==
// @name @icon test 3
// @namespace iconTest
// @icon http://erikvold.com/tests/fakeimg.txt
// @include *
// @version 0.1
// @author Erik Vergobbi Vold
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// ==/UserScript==
// ==UserScript==
// @name @icon test 4
// @namespace iconTest
// @icon http://erikvold.com/tests/fakeimg2.txt
// @include *
// @version 0.1
// @author Erik Vergobbi Vold
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// ==/UserScript==
// ==UserScript==
// @name GM_woker test
// @namespace gWorkerTest
// @include *
// @version 0.1
// @author Erik Vergobbi Vold
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @resource worker http://erikvold.com/tests/greasemonkey/gmWorker/worker.js
// @description A GM worker test.
// ==/UserScript==