Greasy Fork

DOM

Useful library for dealing with the DOM.

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

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

作者
rafaelgomesxyz
版本
4.0.4
创建于
2020-06-21
更新于
2020-06-29
大小
10.0 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 elements with attributes / events and retrieving their references, using an array structure visually similar to JSX
  • Observing a node for mutations
  • Parsing an HTML string into a DOM