我有一个userscript如下所示:
document.addEventListener('click', alert('hello monkey'), true);有两个问题:
发布于 2010-07-15 23:48:06
你需要绑定它这样它就不会自动执行..。
document.addEventListener('click', function(){alert('hello monkey')}, true);不过不太确定第二条。
https://stackoverflow.com/questions/3260926
复制相似问题