3 ms·
Totally coincidentally, I was just working on a User Script that does this for all Hacker News posts; basically, puts the full, unqualified hostname in the pare
by yahelc 15y ago
Totally coincidentally, I was just working on a User Script that does this for all Hacker News posts; basically, puts the full, unqualified hostname in the parenthesis after the post. It's surprisingly simple.
https://gist.github.com/1522657 https://gist.github.com/1522657
(UserScripts.org is failing me. To install, simply go to that gist and click "Raw" on Chrome, or on Firefox with Greasemonkey installed).
EDIT: I've made some changes since initially posting, including removing the www. when it appears, and not making unnecessary DOM alterations if the domain wouldn't be changing. Also did a little bit of readability clean-up.
- ComputerGuru 15y agoThank you. Works like a dream on Chrome. Appreciate the www removal, too. I actually really, really like it. If anyone cares to see, this is what my homepage currently looks like with this extension: http://i.imgur.com/qJ8KY.png http://i.imgur.com/qJ8KY.png EDIT - Question to PG: why does "david.weebly.com" show up as a subdomain listing on the HN homepage without this, while other subdomains don't?
- josscrowcroft 15y agoFantastic script, simple and does the job. three thumbs up!