时间: 2021-07-31 作者:daque
<script>function my(){ this.a=function(){ document.write("<input onclick='"+this.owner+".c()'>"); alert(document.body.outerhtml); } eval(this.owner + "=this"); this.c=function(){ event.srcelement.value="123"; } }var o=new my();o.a();</script>