News for hackers. Stuff that matters.
Re:Please stop using CDNs for external JavaScript libraries by 14u2c on Sunday October 11, 2020 @10:14PM (#24750835)
Could this not be solved by by Grindr setting up CORS properly for that resource? It's unlikely anyone would ever open the script directly in their browser.
Re:Please stop using CDNs for external JavaScript libraries by thefreeman on Sunday October 11, 2020 @10:49PM (#24750991)
CORS wouldn't help here. CORS prevents you from reading the response or making a cross origin XHR requests, not loading an external resource from a different domain in a script or img tag.
Re:Please stop using CDNs for external JavaScript libraries by srtjstjsj on Sunday October 11, 2020 @10:37PM (#24750938)
Fun fact: browsers put scary warnings in their dev console (and some web sites log warnings or console) because some people love copy-pasting code they got from sketchy people trying to bypass all the browser security.