javascript - When viewing the website source code, I cannot see the complete structure, only the imported js files. How is this done and what is the principle?
三叔
三叔 2017-06-12 09:31:08
0
6
814

Reference URL: http://api.php63.cc/login
Unable to obtain the complete html structure and the corresponding DOM element cannot be found. Please ask a master to explain the principle. Beg on your knees! Beg on your knees! Beg on your knees! Beg on your knees!

三叔
三叔

reply all(6)
扔个三星炸死你

DOM is dynamically generated from imported js files.

阿神

You can view the source code in F12. Most of the front-end things are transparent, and the questions are not clear enough. What are you looking for? And the account and password are cached in the URL you shared. Pay attention to information security

世界只因有你

Use F12 to view,
Don’t use ctrl+U
Dom is dynamically generated by js, and you can’t see it when looking at the source code.

学霸

This is a vue.js website. It is different from the traditional way of directly operating the dom. You can use the browser to expand and look at the compressed code. In fact, it is dynamically generating the dom. It is recommended to take a look at the Vue.js official website.

过去多啦不再A梦

This is the component development. It looks like it should be developed by Vue or React. The pages are all written in .js or .vue files. They are packaged and introduced to the homepage using packaging tools such as webpack, so that nothing can be seen.
A webpage I wrote recently, see if it looks like http://histest.mobimedical.cn...

代言

You can take a look at the website built with react

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template