document.body.innerHTML="<a href='1.html'>mylink</a><script language='javascript'>var t;</scr"+"ipt>"; //把</script>劈开即可