What if the right mouse button on the Web page is locked?

Source: Internet
Author: User

In fact, this is because the Web page file has been added as shown in the previous code:

In this way when browsing the Web page, in addition to click the left mouse button, any other form of mouse click or combination of clicks, will appear "Copyright (C), is strictly prohibited copy!" The Prompt box.

For the above right mouse button disabled cracking is very easy, by selecting the target and then pressing the right mouse button on the target, the prompt window will pop up, don't release the right button, move the mouse pointer over the prompt window's OK button, and then press the left button. Now release the left mouse button, limit the window is closed, and then move the mouse to the target release of the right mouse button, oh, the right mouse button pop-up menu, limit canceled!

In addition, we can also press SHIFT+F10 or press the keyboard and the right side of the CTRL key next to the key, you can easily crack above the right mouse button shielding.

Recently in a Web page has encountered a new shielding method, the use of these methods are not valid. Key code as shown in two

Add the above code to your Web page, and then you can try the right button, no matter what? Try again by SHIFT+F10? or not! Another trick: Press the keyboard and the right side of the CTRL key next to the key to try, alas, also not the spirit. Wait a minute, I still have a trick that doesn't work! The right mouse button screen in the right button, the warning window, this time do not release the right button, with the left hand press on the keyboard alt+f4 key combination, then the prompt window was we closed, release the right mouse button, or no response! I think this is a "miss"! It doesn't even work anymore!

Can not worry, and then use the brain, since it can use JavaScript limit our right mouse button, we should be able to use JavaScript to crack it! A closer look at the above code, the key is this sentence: "Document.oncontextmenu=stop", If we can make the "stop" in which the failure of the successful crack it? OK, let's try, the specific method is:

In the browser address bar, type "Javascript:alert (document.oncontextmenu= ')" (do not enter double quotes when entering), a dialog box pops up, click "OK" button, and then to your target (picture or text) Click the right mouse button to see the pop-up menu!

This is the so-called "to the way, but also to the body," and encountered the above mentioned situation, we might as well try.

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.