feat: add wwads.

This commit is contained in:
Ryan Wang
2021-10-10 00:16:50 +08:00
parent 1c644a9f7e
commit d0c8da473b
2 changed files with 14 additions and 0 deletions

7
static/js/wwads.js Normal file
View File

@@ -0,0 +1,7 @@
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");
ad[0].parentNode.appendChild(adnode);
};