Files
docs/static/js/wwads.js
2021-10-10 00:20:56 +08:00

9 lines
336 B
JavaScript

window.onload = function () {
const ad = document.getElementsByClassName("table-of-contents");
const adnode = document.createElement("div");
adnode.setAttribute("class", "wwads-cn wwads-vertical");
adnode.setAttribute("data-id", "80");
adnode.setAttribute('style',"max-width:200px")
ad[0].parentNode.appendChild(adnode);
};