55 classic tips most commonly used in Javascript

Source: Internet
Author: User
The 55 most common classic tips in Javascript 1. oncontextmenu & quot; window. event. returnValuefalse & quot; the right mouse button & lt; tableborderoncontextmenureturn (false) & gt; & lt; td & gt; no & lt;/table & gt; available

55 classic tips most commonly used in Javascript
1. oncontextmenu = "window. event. returnValue = false" will completely block the right mouse button

No
Available for Table

2.Cancel selection and prevent Replication

3. onpaste = "return false" Do not paste

4. oncopy = "return false;" oncut = "return false;" Prevent Replication

5. Replace the IE icon in front of the address bar

6. Show your icons in favorites


7.Disable Input Method


8. Always carry the framework

Related Article

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.