Greasy Fork

Shined up real nice.

OnDom

provide a function to handle element by selector.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://greasyfork.org/scripts/31694-ondom/code/OnDom.js?version=214980

After trying this script, you can ask a question about it, review it, or report it.
Advertisement
Author
Cologler
Ratings
0 0 0
Version
0.1.3.3
Created
Updated
License
N/A
Applies to
All sites

Author's Description

function onDom(selector, callback, element = null);

Any matched elements will exec the callback.

Share