Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下代码来取消对网页的左键单击:
window.onclick = function(event){ return false; }
我现在遇到的问题是它似乎不适用于邮件等某些元素。你知道为什么吗 ?
In my javascript code, I'm creating an <object> like so:
<object>
var myObject = document.createElement('object');
Then, I to add some parameters to this object, so that thes