这不起作用,因为在应用iframe沙箱之前,iframe中的JS会触发; 创建iframe并使用 srcdoc 属性(例如 <iframe sandbox="allow-scripts" srcdoc="<body><script ...
確定! 回上一頁