4 ms·
I always quickly check my Chrome Inspector to make sure it's not sending anything to a server.
by efdee 7y ago
I always quickly check my Chrome Inspector to make sure it's not sending anything to a server.
- jdavis703 7y agoDon't count on this. There are ways to guess if the dev tools are likely to be open and then alter nefarious behavior based on that. For example you can detect changes in window sizes or look for plugins that are in the global namespace (e.g. Redux Dev Tools). Better play it safe and don't copy and paste private data to random sites. Another attack vector would be to avoid sending down any data unless it contains something that looks like a hash or a token, or has a keyword like "password."
- tlrobinson 7y agoThere are also ways to wait until you close or navigate away from the page, using window.onbeforeunload / window.onunload / navigator.sendBeacon: https://stackoverflow.com/questions/4945932/window-onbeforeunload-ajax-request-in-chrome https://stackoverflow.com/questions/4945932/window-onbeforeu...