Greasy Fork

Monkey DOM

Useful library for dealing with the DOM.

目前为 2020-06-23 提交的版本。查看 最新版本

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.icu/scripts/405802/819513/Monkey%20DOM.js

作者
rafaelgomesxyz
版本
1.1.3
创建于
2020-06-21
更新于
2020-06-23
大小
8.5 KB
许可证
暂无

Useful library for dealing with the DOM.

It simplifies the process of:

  • Waiting for an element that is dynamically added to the DOM
  • Inserting nodes with attributes / events and retrieving their references
  • Observing a node for mutations
  • Parsing an HTML string into a DOM