javascript - How can I right-click the content of a website after selecting it, but there is no copy in the right-click, and can I use ctrl+c to copy it?
黄舟
黄舟 2017-06-13 09:24:04
0
4
849

For example, the content of this website
http://bj.kongjianjia.com/xie...

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(4)
仅有的幸福

Reconstruct the right-most event
http://www.oschina.net/code/s...

洪涛

contextmenu event prevents the default behavior of right click

Ty80
$(document).bind('contextmenu', function () {
    return false;
})
滿天的星座

https://developer.mozilla.org... More detailed
document.addEventlistener('contextmenu',function(e){e.preventDefault();})

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template