monkey patch
nounEtymology
Apparently from earlier guerrilla patch (“code that sneakily changes other code”), understood as gorilla patch. A monkey patch was then a more carefully written instance of such a patch. Or simply derived from monkey (“to mess with”, verb).
Definitions
A patch which alters the behaviour of a program by forcibly overriding aspects of the…
A patch which alters the behaviour of a program by forcibly overriding aspects of the original code at runtime.
To alter the behaviour of a program by forcibly overriding aspects of the original code…
To alter the behaviour of a program by forcibly overriding aspects of the original code at runtime.
- Even though that works with some browsers, others provide Anchor objects without click() methods. Add this magic code to your application.js, to Monkey Patch a JavaScript click() event:
The neighborhood
Vish — recursive loop
No curated loop yet for monkey patch. Loops are being traced one word at a time while the ingestion pipeline matures.
sense glosses and etymology drawn from English Wiktionary · source · CC-BY-SA