Skip to content

Instantly share code, notes, and snippets.

@noromanba
Last active September 2, 2023 13:03
Show Gist options
  • Save noromanba/2370972 to your computer and use it in GitHub Desktop.
Save noromanba/2370972 to your computer and use it in GitHub Desktop.
add permanently HEAD links on Gist for UserScript
<h3>About</h3>
<strong>Add permanently HEAD link on Gist</strong>
<p>This user.js add 'HEAD' link. It's takes <strong>shrinked permanent raw link</strong>.
Like This</p>
<pre>
https://raw.github.com/gist/2370972/gist-raw-perm-HEAD.user.js
</pre>
<p><div>
<img src="http://cdn-ak.f.st-hatena.com/images/fotolife/n/noromanba/20120413/20120413072715.png" alt="gist-raw-perm-HEAD" width="600px" />
</div></p>
<h3>Detail</h3>
<p>Show technical details on <a href="https://gist.github.com/2370972" target="_blank">Gist: 2370972</a>.</p>
<h3>:EOF</h3>
<p>Enjoy Gist and Coding!</p>
Regards,<br />
noromanba
@LouCypher
Copy link

The new Gist broke your script \( ><)シ

@noromanba
Copy link
Author

@LouCypher
thank you for your infomation :-)

broken

I know, maybe gist API changes too. but GitHub not provide information. hum..
a similar kind as shown below

feed => HTTP406

can't get gists feed

https://gist.github.com/noromanba.atom

Subscribe Gists - Hatena::Let

i.e. mulfunction open feed on flavors.me

blame UI

where is panel which put log?

too drastic.. I’m stucking X-(
I don't have much time now, a correction takes time.

FYI

didn't notification by Github, I'm late.
try @USERNAME with comments

Regards,
noromanba

@noromanba
Copy link
Author

@LouCypher
quick fix 🚑 now. but incompletly yet. pjax handling.........🐌
if unworks it, plz try reload

@LouCypher
Copy link

Thanks for the updates
       «:dancers::dancers:ヾ

@noromanba
Copy link
Author

@LouCypher
somehow handle pjax:sleepy::dizzy: thx for your patience:pray:

@jerone
Copy link

jerone commented Jan 29, 2013

Would be great if you get this to work with the new style and upload new version to USO.

@noromanba
Copy link
Author

stuck in... 💭 take away freedom by CSP 🔒

@noromanba
Copy link
Author

@jerone sry I'm late. thx. USO has gone, and fork sites not good enough. e.g. GF; extreme security

@denilsonsa
Copy link

Hey, @noromanba, I've updated the script to work on the current GitHub markup. Look at https://gist.github.com/denilsonsa/f2e5b9ee53e633e20165 and please update your version. :)

@denilsonsa
Copy link

FYI, it was broken again, and I've fixed it again: https://gist.github.com/denilsonsa/f2e5b9ee53e633e20165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment