4 ms·
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
by iamgilesbowkett 15y ago
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 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/github.com.js 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-minimal-github-dashboard.html http://gilesbowkett.blogspot.com/2010/10/node-miniapp-minima...
- buu700 15y agoThat's pretty useful; I've always found GreaseMonkey a pain to use when making random small tweaks just for myself.
- tallowen 15y agoWorks in firefox as well: https://addons.mozilla.org/en-US/firefox/addon/dotjs/ https://addons.mozilla.org/en-US/firefox/addon/dotjs/
- fingerprinter 15y agoDoes anyone know why dotjs would be OSX only? Would love to use this in Ubuntu as well.
- badboy 15y agoIt's not. It's just a simple Ruby server script. Works just fine on *nix machines.
- callumjones 15y agoI had no idea Chrome supported this, thanks for creating the user script for it!