Answer the question
In order to leave comments, you need to log in
What library/plugin is used to protect the page from viewing the source code?
There is a site dekuzu.com
Here is one of its pages:
https://www.dekuzu.com/ru/2020/02/sell-phone-infri...
I want to see the source code of the page. I'm using Chrome 83.0.4103.116 (Official build), (64 bit)
It doesn't work.
How did they manage to disable:
* right mouse button
* CTRL+U
* F12
This is the first time I've seen this.
Answer the question
In order to leave comments, you need to log in
The site just catches clicks. You can still view the page code by adding view-source: before the link, and open the console through the menu. Protection from the very lazy.
they are just hacks,
open the developer console through the browser menu, there is a script right in index.html
How did they manage to disable:
* right mouse button
* CTRL+U
* F12
window.onkeydown = function(e) {
// какую кнопку юзер нажал?
}
This site was made by mom's programmers. Accumulated "protection" from the Internet and it's done) I do not advise you to do this, you will lose users.
Additional Tools --> Developer Tools:
import requests
response = requests.get('https://www.dekuzu.com/ru/2020/02/sell-phone-infringe-copyright.html')
print(response.text)
What library/plugin is used to protect the page from viewing the source code?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question