Based on https://github.com/deepsweet/microjungle
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/25520/162317/microjungle%20JsonML%20to%20DocumentFragment.js
var mj = new MicrojungleJsonMLtoDocumentFragment(); var jm = [["div", {class: "fun"}, "hello"]]; mj(jm).firstElementChild.outerHTML === "