Snap.svg
Snap.svg copied to clipboard
Update from raw.githubusercontent.com to rawgit.com
The previous link no longer works in modern browsers.
GitHub started using X-Content-Type-Options: nosniff, which instructs more modern browsers to enforce strict MIME type checking. It then returns the raw files in a MIME type returned by the server, preventing the browser from using the file as-intended (if the browser honours the setting).
This can be solved using https://rawgit.com/
See https://stackoverflow.com/questions/17341122/link-and-execute-external-javascript-file-hosted-on-github