Skip to content

Instantly share code, notes, and snippets.

View terabyte's full-sized avatar

Carl Myers terabyte

View GitHub Profile
// BrockA: could we please get this under a BSD or Apache 2.0, or some other compatible license? We'd like to include it in https://github.com/palantir/stash-disapproval-plugin which is apache 2.0.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction