|
Script Summary:
Utility functions that are useful for multiple Greasemonkey scripts Version: 1.0 |
This script has no discussions. |
This script has no reviews. |
How to Use
This "script" is not meant to do anything on its own. It is a collection of utility functions that other Greasemonkey script writers may find useful in their own scripts. Copy and paste just the functions you need for any particular script.
Functions
Debugging Functions
- debug(msg)
DOM Functions
- getElementsByIdRegExp(regex)
- getElementsByClassName(class, tag, element)
String Functions
- String.trim()
Changelog
- v1.0
- initial release (debug, getElementsByClassName, getElementsByIdRegExp)
Similar Scripts
I'm not the only one to have thought of this. Here are other scripts that are a collection of utility functions:





