MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / renderExamBtn

Function renderExamBtn

tech-study.js:308–314  ·  view source on GitHub ↗

* @description 渲染答题按钮

()

Source from the content-addressed store, hash-verified

306 * @description 渲染答题按钮
307 */
308async function renderExamBtn() {
309 const titles = await $_('.title');
310 if (titles.length) {
311 // 插入节点
312 titles[0].parentNode?.insertBefore(ExamBtn().ele, titles[0].nextSibling);
313 }
314}
315/**
316 * @description 渲染面板
317 * @returns

Callers 1

tech-study.jsFile · 0.70

Calls 2

$_Function · 0.70
ExamBtnFunction · 0.70

Tested by

no test coverage detected