search

Home  >  Q&A  >  body text

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?

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!

三叔三叔2800 days ago849

reply all(6)I'll reply

  • 扔个三星炸死你

    扔个三星炸死你2017-06-12 09:33:08

    DOM is dynamically generated from imported js files.

    reply
    0
  • 阿神

    阿神2017-06-12 09:33:08

    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

    reply
    0
  • 世界只因有你

    世界只因有你2017-06-12 09:33:08

    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.

    reply
    0
  • 欧阳克

    欧阳克2017-06-12 09:33:08

    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.

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-12 09:33:08

    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...

    reply
    0
  • 代言

    代言2017-06-12 09:33:08

    You can take a look at the website built with react

    reply
    0
  • Cancelreply