MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / after

Method after

lib/pops/src/utils/PopsDOMUtils.ts:2429–2441  ·  view source on GitHub ↗

* 在元素后面添加兄弟元素或HTML字符串 * @param element 目标元素 * @param content 兄弟元素或HTML字符串 * @example * // 元素a.xx后面添加一个元素 * DOMUtils.after(document.querySelector("a.xx"),document.querySelector("b.xx")) * DOMUtils.after("a.xx","' ") *

(element: HTMLElement | Element | string, content: HTMLElement | string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
addValidErrorMsgFunction · 0.45
onValueChangeFunction · 0.45
addTagItemFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45

Calls 2

selectorMethod · 0.45
insertBeforeMethod · 0.45

Tested by

no test coverage detected