Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

187
Visualizações
how does a browser know if a javascript is from webpage or a client user has written them?

javacript can be served to browsers that comes from server. but we can also write javascript code in the browser console. so my question is how does a browser know that javascript is written by end user or it has come through webpage. is there some sort of ownership mechanism or stack implementation?

can i perform xss attack from brower console. if not then why?

i have just encountered a situation where a function was not defined inside a webpage script so throwing error. then i defined that function in browser console and then error changed to something else. (the whole code was written by me, website was mine too. but on a proper domain and is in production)

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda