Are HTML comments within script tags ignored? Or does commented out code not run?
window.onload = alert('test');
11/12/2018 1:46:07 PM
It is ignored.
Thanks. I've seen it being used on a website but it seemed to be done as a form of code obfuscation. It used
unescape('long string of characters');
I assume it's to prevent web scraping maybe.
Learn Playing. Play Learning
Send us a message