Conceptually, could once create a div, display 开发者_高级运维the content and then put a transparent div over the content so if the user right clicks -> Save As, Save Image, etc and they won't get anything when they do it?
yes but it's just as worthless as
<body oncontextmenu="return false;">
if someone want to copy your content they will
An empty div would still make the content below clickable. One technique sometimes used is to do a similar thing, but use a transparent gif or png which would cover the content, or to use javascript to disable the contextual menu.
In any case, if someone wants to save the content, there's not really anything you can do to stop them.
Make a div which position is fixed then put transparent image.
Example : http://jsfiddle.net/huhu/ZePMg/1/
精彩评论