search

Home  >  Q&A  >  body text

javascript - There are many image paths in the website, but I can't find which file they are written in?

There are many image path errors in my website, and when I click on them, I do not enter the imported page.
Because the website is not made by myself, I want to know how to get the location where the error message is imported.

大家讲道理大家讲道理2713 days ago557

reply all(4)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-12 09:22:39

    Open the IDE and search for keywords, such as banner5 and banner7.jpg above, and then locate the specific page (there may be more than one found)

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-12 09:22:39

    Image loading may be an image request loaded in CSS or Javascript. You can try to use image keywords to search in the CSS/JS files on the page, and you may be able to find the statement to load the image.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-06-12 09:22:39

    The URLs of the resources in the screenshots will be followed by %22. After decoding the URL, we found that it is an English double quotation mark, so we cannot rule out that this is the reason for the 404.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-12 09:22:39

    Open the developer tools in chrome, click the arrow icon to the left of the error in the console panel to view the call stack, or the network panel can also be used
    For example, this page

    reply
    0
  • Cancelreply