by codedokode · 8y ago · 0 comments
So if you want to steal passwords, make some extension like "Mp3 Youtube Downloader" or "Ad Blocker" and get access to millions of happy users' browsers.
CSP looks like an ugly hack rather than a good solution. Why would you need to specify allowed sources for scripts if you control your HTML code? I don't understand why the author praises it. What a stupid time-wasting technology.
Because it appears to be the ONLY solution to the problem described, unless you never use any third party code that you didn’t build from source and audit.