Shield right-click menu, and shield right-click menu in js

Source: Internet
Author: User

Shield right-click menu, and shield right-click menu in js

document.oncontextmenu = function (event){if(window.event){event = window.event;}try{var the = event.srcElement;if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){return false;}return true;}catch (e){return false; } }


How can I crack the webpage by blocking the right-click menu?

If you right click is disabled, you will be limited to some common web pages, if you cannot use the right-click menu to select "open a connection in a new window", you cannot copy the webpage information, or you cannot download software connected to the webpage, there are many methods and techniques to crack and disable right-click, some methods can even be transplanted to the * system for use.
First, click the left button on the required webpage page, file, or shortcut icon, and press the left button. Do not open it. Then, right-click it, hold down the right button, and then release the right button, then the familiar right-click menu is displayed. This is the most commonly used and effective method.
Tip 2: If a warning window is displayed when you right-click the target webpage, do not open the right-click button, move the mouse over the warning window, and click OK, then the window will disappear, and the right-click button will be removed, and the right-click menu will appear in front of you.
Tip 3: If you right-click the target and a window to add to favorites appears, do not open the right-click or move the mouse, as long as you move the TAB key of the keyboard, move the focus to the "cancel" button, press the Space key or press enter, the window will disappear, then you can right-click it.
Step 4: Right-click Disabled. Just press F10 and right-click to get what you want. Of course, the premise is that your right-click is not broken. If it breaks down, it doesn't matter-if you want to save another picture on the webpage, you can open another IE window first, then, click the left mouse button to hold the image and drag it into the new window. In the IE window, select only the "file" menu and only the "Save as" command to complete your original work; if you want to save text information, you can do the same, but you want to open a new Word processing software window, such as Word notepad, instead of IE Windows.
Tip 5: if you cannot right-click a hyperlink on the webpage to bring up the "open in New window" menu, the above methods may not be cracked. At this time, as long as you right-click the superconnection and the window pops up, do not release the right-click, press the Space key on the keyboard, the window disappears, then the right-click is released, and the cute right-click menu appears again.
Tip 6: Right-click the page that hides the right mouse button and a restricted window appears. Do not release the right button. Press the ait + f4 key on the left-hand keyboard to close the window, right-click the mouse and the menu appears! This is an easy way to crack all the above situations!

How to screen the right-click Table menu

Under HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Create a new binary value "NoViewContextMenu" in the window on the right and set the value to "01 00 00 ".
After modification, You need to restart WINDOWS. After startup, you will not be able to right-click the desktop, drive, folder, and other places

Key Value 4: "NoTrayContextMenu" = dword: 00000001 function: Do not use the right-click menu in the taskbar

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.