You can protect website content from copying through the blocking of the output/information processing using the code inspector?


Let's say that the page is protected by some simple script programs from manually copying the text. Text selection by mouse is not working + CTRL+C does not work either. Then the so-called housewife or househusband open the code inspector in the browser and find that you need to copy from the site. Question: is there any script or way to make it so that when you open the code inspector in it "crumbled" would be a big pile of bugs or something else that prevents the copying of material from the page? Interesting.

I could be wrong, could be an accident, a mistake at work, it could also be something else, but about a year ago at the opening of the site (what I do not remember), in the study of the styles of one element in Chrome, there's some kind of lock debugging, locking the work of the inspector of the items on this website at the time, when on other sites at this point everything worked correctly.

P. P. S.
Just already tired of the butt with site owners and hosting providers. With Facebook generally useless. Already thinking to go to one company for the escrow and certification of materials, but is it worth it...
July 12th 19 at 16:35
2 answers
July 12th 19 at 16:37
At avito should lock when you open the console. But it costs time. Yes, and just manually copying anything will not cause your service is too time-consuming. But people like to highlight text while reading. Do not disturb them.
But the true villains, you did not hurt. I'll just write the standard spider in Python that will take all the info at once. And will even pick up a few seconds after the appearance of information on your website. Will limit by IP, so I have a thousand proxies for a few dollars per month.
In General, do not do any inserting sticks in the wheels for a normal user.
Interesting decision from them. Know they have this method implemented?
The fact that you can write the parser, I have no doubt. For example, in site up and working in the developer tools, and the selection will be allowed. In fact on the website the content of a commercial nature, copy pieces of it or the text somewhere yourself just pointless, but on other sites take away. - reyna_West92 commented on July 12th 19 at 16:40
Similarly, on Craigslist I saw. Opened, and the tab can not close the browser and open up more do not want))) - reyna_West92 commented on July 12th 19 at 16:43
: There simply there is a breakpoint. In Gulhane one button turns off this garbage. Just put somewhere in js "setTimeout(function(){debugger;}, 1000);" and when you open the console in the browser in a second block all. - Tyra.Price26 commented on July 12th 19 at 16:46
Know effective way? - reyna_West92 commented on July 12th 19 at 16:49
No. I'm telling you, this prevents ordinary users, not attackers. - Tyra.Price26 commented on July 12th 19 at 16:52

Don't understand how you can prevent such user interaction with the website:
  1. The user has the possibility to highlight on the website any text on the website when reading. Quietly reading, highlights. With this problem he any does not arise.

  2. The user cannot copy certain chunks of text from the site. Copying is prohibited. When you use CTRL+C any notification does not appear, just is not copied. The right mouse button in the context menu works as standard, but the text is not copied. It do not copy, who to copy the descriptive text for the service!? Maybe there are only ones, they are one in a thousand, but this is not essential. Personally in my practice never used. If the material is interesting, make a bookmark and come back to read again. If you really useful material for memorization, copy in the records, but a description of the services – certainly not content that you copy and save.
  3. When you open the developer tools is something that prevents this method of copying. What a normal user generally knows about these tools and why he needs it. But homegrown kopipaster may be doing.

In short, the user normally works with the site, and the kopipaster can be difficult. Judging by the sites which has copied content is and how they are placed, it is possible to conclude that the low awareness of these people in such matters and it could theoretically scare them and force them to find something else. No harm in trying, you can check. Here we take me personally. Do not rummage in JS, only surface floating and able to work with JQUERY, but after the "ambush" on the website avito more/I don't really want to experiment with it ;)

Specifically examined how copy and use the material in my case. Copied mostly by hand and inserted into the desired location of the page. Copy exactly because they are too lazy to write themselves or skimp on the services of a copywriter, and then see a suitable material and placed on your website. - reyna_West92 commented on July 12th 19 at 16:55
July 12th 19 at 16:39
What to do with it? We need to think. The first thing that came to mind – remove all elements from the page when you open the DevTools and bring some funny inscription like, "you fucking kopipaster, the puppy close and don't play" :) But then there is a probability that kopipaster would drive him mad with all its pleasant and unpleasant consequences. - reyna_West92 commented on July 12th 19 at 16:42

Find more questions by tags Web Development