Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

here's how I solve this problem. (ironically Chris Wanstrath, GitHub co-founder, created the technology my solution uses, and apparently did it in response to a random comment by GitHub engineer Ryan Tomayko.)

the tech is called dotjs. you can check it out at http://defunkt.io/dotjs. if you use Chrome as your web browser, it runs arbitrary JavaScript you define for any domain in your ~/.js directory.

my ~/.js/github.com.js looks like this:

$("div.news").hide();

you can check the full file for a couple other hacks: https://github.com/gilesbowkett/dotjsfiles/blob/master/githu...

but that's the gist of it (no pun intended).

I also created a Minimal GitHub Dashboard mini-app, built in Node against the GitHub API, but when they changed the API, I didn't bother to update it. I think it was really cool though so I'll link it up anyway. it just pulled a list of your public repos and put links to them in a very readable, very minimal UI.

http://gilesbowkett.blogspot.com/2010/10/node-miniapp-minima...




That's pretty useful; I've always found GreaseMonkey a pain to use when making random small tweaks just for myself.


Does anyone know why dotjs would be OSX only? Would love to use this in Ubuntu as well.


It's not. It's just a simple Ruby server script. Works just fine on *nix machines.


I had no idea Chrome supported this, thanks for creating the user script for it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: