Pergunta de entrevista da empresa Source Defense

- what is the meaning of “async” or “defer” attributes on a script element? - does “async” script delay page rendering? - How would you write a script to know how many times the window.addEventListener was called? A: override the original function - How would you know if a script/function was overridden? - How would you bypass detection of overridden native functions? - How would you pass information from client to server - A: make a connection (xhr, websocket, image/script elements src attributes, background-image css rules, etc…) What is CSP? A: content security policy