Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda