inject
This commit is contained in:
@@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
if (scriptEl) {
|
if (scriptEl) {
|
||||||
scriptEl = scriptEl.parentNode.removeChild(scriptEl);
|
scriptEl = scriptEl.parentNode.removeChild(scriptEl);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
scriptEl = document.createElement("script");
|
scriptEl = document.createElement("script");
|
||||||
scriptEl.src = `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${caPub}`;
|
scriptEl.src = `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${caPub}`;
|
||||||
scriptEl.async = "async";
|
scriptEl.async = "async";
|
||||||
|
|||||||
Generated
+13
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"name": "docsify-plugin-adsense",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"lockfileVersion": 2,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"name": "docsify-plugin-adsense",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user