📅  最后修改于: 2022-03-11 15:04:29.598000             🧑  作者: Mango
window.addEventListener('load', (event) => {
var ifrm = = document.getElementById('myIFrame');
ifrm.contentWindow.document.addEventListener('mouseup', Handler);
function Handler() {
alert('works');
}
});