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 code is added to the webpage file:
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:
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 face 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 situation mentioned above, you may wish to try it out.