Reasons why websites cannot be right-clicked and Solutions

Source: Internet
Author: User

I wonder if you have ever encountered such a problem: If you want to perform various operations on your favorite website, such as saving and copying, right-click the website and find that the website is disabled by right-clicking, A prompt such as "prohibit right-click" appears at one click. People are often helpless. In fact, this is just a level designed by major websites to prevent malicious replication. Although the right-click ban is disabled, other measures can be used to remove this obstacle! I have summarized some experiences when surfing the Internet and told you the following methods to pop up the right-click menu!
1. Right-click the button. When the prompt box is displayed, do not right-click it. Click "OK" with the left button removed, and then right-click it. Wow! The menu is displayed!
2. Press SHIFT + F10 to display the menu directly!
3. Press the second-to-last key at the bottom of the main keyboard to display the menu!
After the menu appears, you must know why you cannot right-click it. Click "View Source File" in the menu. A notepad is displayed.Source code. SourceCodeUnder the page Settings section, various prompts may appear when you browse the page. You can easily find out the prompt to prohibit right-clicking. This prompt appears as code in the source file. For example, on the Liuzhou News Network, the prompt "} function click1 () {If (event. button = 2) {alert ('Do not right click ~! ') "From the prompt content, we found that the website probably uses the assembly language. However, it is easy to solve the problem if any flaw is found!

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.