Google Chrome Dev tools find JavaScript

Source: Internet
Author: User
Tags print format

1. Using Ctrl+shift+f, open the Find window to find support for regular expressions:

2. Find function Definition: Ctrl + Shift + O

3. Find File: Ctrl + O

4.: Modify JavaScript code in real time

Page outside the chain JavaScript file can be directly modified in the Script panel, after the change of CTRL + S Save, will take effect immediately, but does not support the Html page JavaScript modification, after pretty print format JavaScript is not supported Real-time modifications.

5. Self-built script file

When you enter the last line of code in the console (console) plus//@ sourceurl=filename.js, a new outer-chain script file is added to the script panel: Filename.js, This new file, like any other out-of-the-chain JavaScript file, can be modified in real time.

Google Chrome Dev tools find JavaScript

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.