+ 3

I want to know what a risk is in the code Matgaper with me

<script language="Javascript"><br /><br /><!-- This script and many more are available online free at --><br /><!-- The JavaScript Source!! http://javascript.internet.com --><br /><br /><!-- Begin<br />var COLOR = 999999<br />var woot = 0<br />function stoploop() {<br />document.bgColor = '#000000';<br />clearTimeout(loopID);<br />}<br />function loopBackground() {<br />if (COLOR > 0) {<br />document.bgColor = '#' + COLOR<br />COLOR -= 111111<br />loopID = setTimeout("loopBackground()",1)<br />} else {<br />document.bgColor = '#000000'<br />woot += 10<br />COLOR = 999999<br />COLOR -= woot<br />loopID = setTimeout("loopBackground()",1)<br /> }<br />}<br />// End --><br /></script><br /><br /><form name="background"><br /> <p align="center"><input type="button"<br /> value="ۧۚۯۧۥ Ű§Ù„Űčمل" onclick="loopBackground()"> <br><br /> <input type="button" value="ŰȘوقف" onclick="stoploop()"> </p><br /></form><br />

9th Jun 2019, 7:50 PM
â€ŽÙ…Ű­Ù…ŰŻ Ű§Ù„Ù†ŰČهي‎
â€ŽÙ…Ű­Ù…ŰŻ Ű§Ù„Ù†ŰČهي‎ - avatar
1 Answer
+ 1
I think this code was an example of "JavaScript Code highlight " Isn't?â˜ș
1st Jul 2019, 6:36 AM
Kelvin Paul
Kelvin Paul - avatar