feat: add wwads.

JohnNiang-patch-1
Ryan Wang 3 years ago
parent 1c644a9f7e
commit d0c8da473b

@ -240,6 +240,13 @@ const darkCodeTheme = require("prism-react-renderer/themes/palenight");
defer: true, defer: true,
"data-website-id": "84657224-4386-44b9-b012-3258c70a49eb", "data-website-id": "84657224-4386-44b9-b012-3258c70a49eb",
}, },
{
src: "https://cdn.wwads.cn/js/makemoney.js",
async: true,
},
{
src: "/js/wwads.js",
},
], ],
} }
); );

@ -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);
};
Loading…
Cancel
Save