Last active
May 3, 2020 16:05
-
-
Save outiy5/b25d5be797f670b10151f179d2ed261d to your computer and use it in GitHub Desktop.
Revisions
-
outiy5 revised this gist
May 3, 2020 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,10 @@ var childNode = document.createElement('p'); childNode.innerHTML = '这里是提示信息〜〜'; //childNode.setAttribute('class', 'alerts'); //childNode.setAttribute('onclick', 'this.style.display = "none"'); childNode.className = 'alerts'; childNode.onclick = function () { this.style.display = 'none'; } document.getElementsByTagName('body')[0].appendChild(childNode); -
outiy5 created this gist
May 3, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ //