1、下面方法适合解码的字符比较多的
<script> var _0xf488=["x20x27onclickx3dalertx281x29x3bx2fx2fx27"]; function decode() { var element = document.getElementById('code'); for (var key in _0xf488) { element.value += _0xf488[key] + " "; } } </script> <textarea id="code" cols="80" rows="20"></textarea> <input type="button" onclick="decode()" value="解码">
菜鸟教程在线编辑器 https://www.runoob.com/try/try.php?filename=tryhtml_intro
复制粘贴后运行:
2、下面适合代码少的,运行后直接弹出,可复制
<script> javascript:alert("x20x27onclickx3dalertx281x29x3bx2fx2fx27"); </script>