From bca57d117425ffc4c3e0148b52a7572568444319 Mon Sep 17 00:00:00 2001 From: liujianhuan Date: Wed, 1 Jul 2020 15:42:33 +0800 Subject: [PATCH] test add link --- scripts/myscript.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/myscript.js b/scripts/myscript.js index 12c0657..34059dc 100644 --- a/scripts/myscript.js +++ b/scripts/myscript.js @@ -8,4 +8,14 @@ obox.style.right = "20px"; obox.style.bottom = "100px"; var sbox = document.getElementsByTagName("body")[0]; -sbox.appendChild(obox); \ No newline at end of file +sbox.appendChild(obox); + +var scbox1 = document.createElement("script") +scbox1.type = "text/javascript" +scbox1.innerHTML = 'var jd_union_pid = "3002597012";var jd_union_euid = "";' +var scbox2 = document.createElement("script") +scbox2.type = "text/javascript" +scbox2.src = "//ads-union.jd.com/static/js/union.js" + +sbox.appendChild(scbox1) +sbox.appendChild(scbox2) \ No newline at end of file