gist raw perm HEAD userscripts.org #130781
When you install user.js strongly recommended on Userscripts.org. Not here.
Visit Gist and see 'raw' link, It's including long Hash name like this.
https://gist.github.com/raw/2370972/47150711fedb7375d19d761ab122485b8105678d/gist-raw-perm-HEAD.user.js
This user.js provide 'HEAD' links. It's takes shrinked permanent raw link and shrinked named raw link when you browse Gist files.
True Permalink: This is absolutery permanent link but it's always filetype: txt.
https://raw.github.com/gist/2370972/
Almost Permalink: This is almost permanent link. It's strict filetype by extension. This link broken when filename changed.
https://raw.github.com/gist/2370972/gist-raw-perm-HEAD.user.js
This link most useful for install user.js from Gist.
HEAD can accessible 1st file only. That is Gist API constraining.
Multifiles Gist has ploblem. Gist API not provide true permlink(bee called HEAD) for 2nd or more files.
Very simple.
Include content and history. It's too long too much.
cf. https://gist.github.com/2370972
- GET 'raw' return HTTP 302
https://gist.github.com/raw/2370972/2370972/47150711fedb7375d19d761ab122485b8105678d/gist-raw-perm-HEAD.user.js
- HTTP 200 OK
https://raw.github.com/gist/2370972/2370972/47150711fedb7375d19d761ab122485b8105678d/gist-raw-perm-HEAD.user.js
The new Gist broke your script \( ><)シ