简体   繁体   中英

How to see js file of a website using web browser inspector tool?

Using web browser inspector tool, I was trying to see js source code of an website ( https://www.cyberpunk.net/build/js/preorder-f96eab6808d90621a4a1.js ) but all I can see is html code (view-source: https://www.cyberpunk.net/pl/pl/pre-order ). I want to access js file from my browser, how to do that?

I am using lastest google chrome. Mentioned website is this one: https://www.cyberpunk.net/nl/en/pre-order

If you open the network tab in Chrome dev tools and reload the page, you can see each individual item being loaded into the browser (images, scripts, etc.). If you use the 'JS' filter you should be able to narrow the files down to what you're looking for.

网络标签

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM