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
/* waitForKeyElements(): The improved utility function for userscripts - now with MutationObservers and no jQuery! | |
Usage example: | |
waitForKeyElements( | |
'div.comments', | |
element => console.log('Look! A new element appeared!', element) | |
); | |
// ----------------------------------------------------------------- |
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
toolbarbutton#alltabs-button { | |
-moz-binding: url(data:text/plain;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tIENvcHlyaWdodCAoYykgMjAxNyBIYWdnYWkgTnVjaGkNCkF2YWlsYWJsZSBmb3IgdXNlIHVuZGVyIHRoZSBNSVQgTGljZW5zZToNCmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUDQogLS0+DQoNCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPg0KPGJpbmRpbmdzIHhtbG5zPSJodHRwOi8vd3d3Lm1vemlsbGEub3JnL3hibCI+DQogICAgPGJpbmRpbmcgaWQ9ImpzIj4NCiAgICAgICAgPGltcGxlbWVudGF0aW9uPg0KICAgICAgICAgICAgPGNvbnN0cnVjdG9yPjwhW0NEQVRBWw0KICAgICAgICAgICAgICAgIGlmKHdpbmRvdy51c2VyQ2hyb21lSnNNb2QpIHJldHVybjsNCiAgICAgICAgICAgICAgICB3aW5kb3cudXNlckNocm9tZUpzTW9kID0gdHJ1ZTsNCg0KICAgICAgICAgICAgICAgIHZhciBjaHJvbWVGaWxlcyA9IEZpbGVVdGlscy5nZXREaXIoIlVDaHJtIiwgW10pLmRpcmVjdG9yeUVudHJpZXM7DQogICAgICAgICAgICAgICAgdmFyIHh1bEZpbGVzID0gW107DQogICAgICAgICAgICAgICAgdmFyIHNzcyA9IENjWydAbW96aWxsYS5vcmcvY29udGVudC9zdHlsZS1zaGVldC1zZXJ2aWNlOzEnXS5nZXRTZXJ2aWNlKENpLm5zSVN0eWxlU2hlZXRTZXJ2aWNlKTsNCg0KICAgICAgICAgIC |
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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Original: https://gist.github.com/BrockA/2625891 | |
Non-jQuery version by: Adam Katz, | |
https://gist.github.com/adamhotep/7c9068f2196326ab79145ae308b68f9e | |
License: CC BY-NC-SA 4.0 (*not* GPL-compatible) | |
changes made by Adam Katz (tracked by adamhotep's github gist) are | |
also licensed GPL v2+ (but note the CC BY-NC-SA prevents commercial use) | |
License via https://gist.github.com/BrockA/2625891#gistcomment-1617026 |
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
/* | |
##################### | |
GoToTilla v0.22 by hoppfrosch - Added parsing of properties (AHK > 1.1.16.*) | |
http://www.autohotkey.com/board/topic/95536-gototilla-a-combination-of-goto-and-tillagoto/ | |
GoToTilla v0.21 by budRich | |
http://www.autohotkey.com/board/topic/95536-gototilla-a-combination-of-goto-and-tillagoto/ | |
A combination of: GoTo by Avi Aryan | |
http://www.autohotkey.com/board/topic/95009-goto-hotkeys-hotstrings-functions-and-labels-in-any-editor/ | |
and TillaGoto by TheGood | |
http://www.autohotkey.com/forum/viewtopic.php?t=41575 |
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 Kicktraq links on Kickstarter project pages | |
// @version 1.2.1 | |
// @icon http://www.kicktraq.com/favicon.ico | |
// @match http://www.kickstarter.com/projects/*/* | |
// @match http://www.kickstarter.com/projects/*/*/ | |
// @match http://www.kickstarter.com/projects/*/*/* | |
// ==/UserScript== | |
h = ['http://www.kicktraq.com'].concat(window.location.href.split('/').slice(3,6)).join('/'); |
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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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
; c = case sensitive | |
; c1 = ignore the case that was typed, always use the same case for output | |
; * = immediate change (no need for space, period, or enter) | |
; ? = triggered even when the character typed immediately before it is alphanumeric | |
; r = raw output | |
;------------------------------------------------------------------------------ | |
; CHANGELOG: | |
; | |
; 2011-03-21 and after: See readme.md |
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 Blogger Content Warning Skip | |
// @description Automatically skips the content warning on blogspot.com sites without reloading the page | |
// @match http://*.blogspot.com/* | |
// ==/UserScript== | |
var fireEvent = function(obj,evt){ | |
var fireOnThis = obj; | |
if (document.createEvent) { | |
var evObj = document.createEvent('MouseEvents'); |