Javascript-css requests block webpage loading and how to find the request source.

Source: Internet
Author: User
Each time I debug a webpage locally, a css request is loaded: fonts. googleapis. comcss? FamilySource + Sans + Pro: 300,400,600,700,300 italic, 400 italic, and 600italic. However, the request may fail due to the wall or any such request and the webpage is blocked...

Each time I debug a webpage locally, a css request is loaded:
Http://fonts.googleapis.com/css? Family = Source + Sans + Pro: 300,400,600,700,300 italic, 400 italic, 600 italic
However, it may be because the request is failed by the wall or the request and the webpage rendering is blocked. So I want to find out which file the css request was issued and eliminate it, but the debugging tool located it. the request is not found in the file ..

Reply content:

Each time I debug a webpage locally, a css request is loaded:
Http://fonts.googleapis.com/css? Family = Source + Sans + Pro: 300,400,600,700,300 italic, 400 italic, 600 italic
However, it may be because the request is failed by the wall or the request and the webpage rendering is blocked. So I want to find out which file the css request was issued and eliminate it, but the debugging tool located it. the request is not found in the file ..

If you have an address, you can search for it directly in the code.
Some JS may not be called by your program, but by the Extended Program.

This 69 rows is the number of lines that JS reports errors, not the number of lines that initiate the request. I think there should be an error message in the console, right? Search to see which JS initiated the request.

You can find it in the CSS file of bootstrap. @ Font

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.