The latest method to crack the disabled webpage by right-clicking the webpage

Source: Internet
Author: User
When you want to save beautiful pictures or wonderful texts on a webpage, you usually select the target and right-click it, select "Save image as" or "copy" in the pop-up menu to achieve our goal. However, many web pages are currently blocked by right-clicking. As a result, a window will pop up when we press the right-clicking button, which says "XXX is copyrighted, right-clicking is prohibited, and so on, everyone is used to this.

In fact, this is because the following content is added to the webpage file:Code:

JS Code
    1. <Script language ="JavaScript">
    2. FunctionClick (){
    3. If(Event) {alert ("Copyright (c). Copying is prohibited! ");}
    4. }
    5. Document. onmousedown = click;
    6. </SCRIPT>
<Script language = "JavaScript"> function click () {If (event) {alert ("Copyright (C), copying is prohibited! ") ;}} Document. onmousedown = click; </SCRIPT>

In this way, apart from clicking the left mouse button while browsing the Web page, "Copyright (c) is displayed, and copying is prohibited !" .

It is easy to use the right-click method to disable the attack. Select the target and then right-click the target. A Prompt window is displayed, so do not release the right-click button, move the mouse pointer to the "OK" button in the prompt window, and then press the left button. Now, the left mouse button is released, the restriction window is closed, and the right mouse button is removed from the target. The right mouse menu is displayed, and the restriction is canceled!

In addition, we can also press SHIFT + F10 or press the key next to the ctrl key on the right hand side of the keyboard to easily crack the above blocking of the right mouse button.

Recently, another new blocking method has been encountered on a webpage. Using the above methods does not work. The key code is as follows:

JS Code
    1. <SCRIPT>
    2. FunctionStop (){
    3. Alert ("Copyright (c). Copying is prohibited! ");
    4. Return False;
    5. }
    6. Document. oncontextmenu = stop;
    7. </SCRIPT>
 
<SCRIPT> function stop () {alert ("Copyright (c). Copying is prohibited! "); Return false;} document. oncontextmenu = stop; </SCRIPT>

 
Add the above Code to Your webpage. Then you can right-click and try again? Try SHIFT + F10 again? Still not good! Try again: Click the key next to the ctrl key on the right hand side of the keyboard. Slow down. I still have a trick! Right-click the page that blocks the right-click, and a warning window appears. Do not release the right-click, and press Alt + F4 on the left-hand keyboard. The Prompt window is closed, right-click the mouse and no response is returned! I thought this was an amazing move! It's useless now!

Don't worry. Use your brains again. Since it can use JavaScript to restrict the right mouse, we should use JavaScript to crack it! Take a closer look at the above Code. The key is this sentence: "document. oncontextmenu = stop". If we can invalidate the "stop", will it be cracked successfully? OK. Let's try it. The specific method is:

Type "javascript: Alert (document. oncontextmenu = '') (do not enter double quotation marks when entering), a dialog box will pop up, click" OK ", and then to your target (image or text) right-click and you will see the pop-up menu!

This is the so-called "one by one, another". If you encounter the above situation, you may wish to try it!

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.