Re:Better HN - Google Chrome extension
by willwagner on Thursday March 11, 2010 @06:36PM
(#1185299)
Nice work. I've been trying to write something very similar to this for the last couple days so perhaps I won't need to complete it after all.
The one concern i have is that it appears to send up every url I navigate to; I'd much prefer to not have that overhead and instead have a button when I'm interested in a particular url. Having it query searchYC for each page i visit seems overkill, but perhaps not for some people.
Re:Better HN - Google Chrome extension
by dionidium on Thursday March 11, 2010 @07:57PM
(#1185481)
In addition to the overhead, this has rather significant privacy implications, since you're sending your complete browsing history to a third party (and in real-time).
Re:Better HN - Google Chrome extension
by Timothee on Thursday March 11, 2010 @08:00PM
(#1185486)
When I was thinking about my implementation, I didn't think about SearchYC but instead was thinking about scraping the homepage (and its 7 little brothers) for the relevant info and then compare it to the current page. It would remove your concern (besides the initial setup) but would work only for recent stories. (which might be good for some people but not all)
Re:Better HN - Google Chrome extension
by shmichael on Friday March 12, 2010 @02:09AM
(#1186036)
The greasemonkey script and chrome extension parse HN's newest items page in addition to searchYC. You could just disable the call to searchYC in the script.
Re:Better HN - Google Chrome extension
by omergertel on Friday March 12, 2010 @02:33AM
(#1186071)
You may be correct. All I did was convert the original script from using GreaseMonkey's proprietary functions to Chrome extensions.
I found it very useful that I don't have to check if a site was on HN. I get a many pleasant surprises this way, on sites I never thought were here.
Re:Better HN - Google Chrome extension
by adrianwaj on Friday March 12, 2010 @09:08AM
(#1186654)
Perhaps just have it send out for comments when a page has been opened from HN. That way I can click a page from HN and see the comments on the underlying page. So have a conditional lookup based on referrer.
Re:Better HN - Google Chrome extension
by gabrielroth on Thursday March 11, 2010 @06:55PM
(#1185344)
Very useful. It would be cool if there was a way to disable it for links that are dead on HN: there's no reason for an HN tab on the Facebook homepage ...
Re:Better HN - Google Chrome extension
by omergertel on Friday March 12, 2010 @02:37AM
(#1186077)
Yeah, I couldn't find a way to exclude pages on Chrome extensions. But I haven't thought about how I may identify dead pages from code. I have an idea I'll try out soon.
If it works, the extension will be updated automatically.
Re:Better HN - Google Chrome extension
by omergertel on Friday March 12, 2010 @05:12AM
(#1186309)
Each page now needs to pass the following test of interest:
[points>months passed since post].
Pages that are dead/not interesting will stop appearing after a month, but interesting pages will linger on.
It was important for me to keep the element of serendipity, so I can still find conversations that were once interesting.
Re:Better HN - Google Chrome extension
by omergertel on Friday March 12, 2010 @02:43AM
(#1186086)
Just a bit. There are a few GreaseMonkey functions that are not supported by Chrome (which can run some GreaseMonkey scripts natively, unless they use them).
I had to replace them with something chrome understands. It isn't that difficult. In fact, I think I can make a more general ChromeMonkey to support all GeaseMonkey scripts, but I won't be sure before I try.
The one concern i have is that it appears to send up every url I navigate to; I'd much prefer to not have that overhead and instead have a button when I'm interested in a particular url. Having it query searchYC for each page i visit seems overkill, but perhaps not for some people.
That being said, I don't fault the SearchYC guys for this at all- the extension leverages their site far beyond its original intended purpose.
http://share.shmichael.com/hn_comment_embed.user.js
Pages that are dead/not interesting will stop appearing after a month, but interesting pages will linger on. It was important for me to keep the element of serendipity, so I can still find conversations that were once interesting.
Perhaps you shouldn't display anything older than 3 months, as after 3 months one can re-submit the page.
Is there more to your extension than embedding the linked GreaseMonkey script?