'protect my blog content

Good evening,

is there any way to protect my blog content (text-picture) from copy/paste.

I've tried Javascript, but it's easy to desactivate it.

Any magical way to protect my post? another way without JS maybe ?

Thanks



Solution 1:[1]

NO. THERE IS NO WAY. If you don't want people copying things, don't put them on the internet.

Any HTML debugging tool would allow anyone to grab whatever they want.

Solution 2:[2]

Yes, no real way to protect or block contents. But some tricks to make more difficult to drag/select text or images.

some tricks in CSS, to "block" selection:

    * {
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: -moz-none;
        -o-user-select: none;
        user-select: none;
    }

some trick in HTML to stop drag images:

<body ondragstart="return false;" ondrop="return false;">

to prevent printing on paper your content using CSS:

@media print { * {display: none !important;} }

All this are trick that can be breaked if user have some knowledge on CSS, HTML.

Solution 3:[3]

In a word: No. Javascript's one way, and that's easily disabled. Another way is to place a div over your content so people can't copy&paste, but they can still just grab the pure HTML.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Diodeus - James MacFarlane
Solution 2 Buzz
Solution 3 Matt Grande