This file contains hidden or 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 @icon test 5 | |
// @namespace iconTest | |
// @icon data:text/html;charset=utf-8,<!DOCTYPE HTML PUBLIC "-%2F%2FW3C%2F%2FDTD HTML 4.0%2F%2FEN">%0D%0A<html lang%3D"en">%0D%0A <head>%0D%0A <title>Test<%2Ftitle>%0D%0A <style type%3D"text%2Fcss">%0D%0A <%2Fstyle>%0D%0A <%2Fhead>%0D%0A <body>%0D%0A <p><%2Fp>%0D%0A <%2Fbody>%0D%0A<%2Fhtml>%0D%0A | |
// @include * | |
// @version 0.1 | |
// @author Erik Vergobbi Vold | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// ==/UserScript== |
This file contains hidden or 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== | |
// @id [email protected] | |
// @name GM_notification test IV | |
// @namespace test | |
// @include * | |
// @resource cat http://www.dwmtech.com/images/cat23.gif | |
// ==/UserScript== | |
GM_notification("test", "test", GM_getResourceURL("cat")); |
This file contains hidden or 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 Document Start Test | |
// @namespace vidzbigger.com | |
// @description This scrip tests document-start | |
// @include http://* | |
// @run-at document-start | |
// ==/UserScript== | |
GM_addStyle('body{display:none;}'); |
This file contains hidden or 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== | |
// @id [email protected] | |
// @name GM_safeHTMLParser Test | |
// @namespace test | |
// @include * | |
// @author Erik Vergobbi Vold <[email protected]> | |
// @license MIT | |
// ==/UserScript== | |
GM_xmlhttpRequest({ |
This file contains hidden or 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
require 'formula' | |
class Autoconf213 <Formula | |
url 'http://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.13.tar.gz' | |
md5 '9de56d4a161a723228220b0f425dc711' | |
homepage 'http://www.gnu.org/software/autoconf/' | |
def keg_only? | |
:provided_by_osx | |
end |
This file contains hidden or 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 testName | |
//@namespace anonDeveloper | |
//@description This script will automagically blah blah blah | |
//@include * | |
//@exclude erik | |
//==/UserScript== | |
alert('Hello world!'); |
This file contains hidden or 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== | |
// @include main | |
// @compatibility Firefox 4.0+ | |
// ==/UserScript== | |
document.getElementById('cmd_find').setAttribute('oncommand', 'gFindBar.hidden ? gFindBar.onFindCommand() : gFindBar.close();'); |
This file contains hidden or 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
// Run this in your error console | |
var wc=0, tc=0; | |
var wm = window.top.opener.Services.wm; | |
var e = wm.getEnumerator("navigator:browser"); | |
var uc = { }; | |
while (e.hasMoreElements()) { | |
var tabs = e.getNext().gBrowser.tabs; | |
wc+=1; | |
tc += tabs.length; | |
Array.forEach(tabs, function(t) { |
This file contains hidden or 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
/* Includes a javascript file with loadSubScript | |
* By Erik Vold <[email protected]> http://erikvold.com/ | |
* | |
* @param src (String) | |
* The url of a javascript file to include. | |
*/ | |
(function(global) global.include = function include(src) { | |
var o = {}; | |
Components.utils.import("resource://gre/modules/Services.jsm", o); | |
var uri = o.Services.io.newURI( |