search

Home  >  Q&A  >  body text

javascript - A piece of text can be seen in the web page, but cannot be found in the source code. How to do this?

RT

There is a backend management page, which displays a mobile phone number. F12 to view the source code, locate this place, and find that there is no such number

Global search, there is no such number

Where did this number come from? If it can be displayed on the page, it must come from the page. I feel that my view of the web has been challenged

Replenish:

代言代言2701 days ago1100

reply all(3)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-07-05 10:49:29

    input is a replaced element, just like you won’t see the image itself in the source code. This should be the value set by JS to the input.

    In the console, document.getElementById('textfield-1371-inputE1').value

    reply
    0
  • 代言

    代言2017-07-05 10:49:29

    Is there an actual link address to check? It may be JS: document.getElementById("ID").innerHTML=Mobile phone number

    reply
    0
  • 漂亮男人

    漂亮男人2017-07-05 10:49:29

    It should be the mobile phone number retrieved from the database by the backend based on the login account, and then returned to the frontend as a variable, so you can’t see this string in the code

    reply
    0
  • Cancelreply