Hacker Newsnew | comments | leaders | jobs | submitlogin
OnePage: An Easier Way to Browse Hacker News (userscripts.org)
62 points by tdupree 564 days ago | 34 comments


30 points by crocus 564 days ago | link

This could revolutionize social news sites. Imagine if the average reddit/digg/slashdot user were to actually read the article he was commenting on first.

-----

10 points by tdavis 564 days ago | link

I am less than confident that it would significantly affect the inanity of the comments.

-----

3 points by danw 564 days ago | link

I'm thinking you could only allow someone to comment or vote after they've viewed the page by doing the :visited css trick

-----

2 points by thaumaturgy 564 days ago | link

Replies to other comments ought to still be enabled, because threads don't always stay strictly true to the subject of the original post.

Otherwise, I think that's a pretty clever idea.

-----

1 point by Tichy 564 days ago | link

Presumably you have to be logged in to be able to comment, so it seems easier to just remember what every user has read.

-----

5 points by richcollins 564 days ago | link

I prefer looking only at the information that is relevant to the current task. Having everything on one page reduces the time to switch contexts, but increases the effort required to process information in the current context.

Maybe something that made it easy to switch between contexts while preserving information hiding would be preferable. (keyboard shortcuts perhaps)

-----

6 points by tdupree 564 days ago | link

Good Suggestion. I could create a feature that would hide the news panel when you click on an article link, maybe turn it to a thin orange vertical bar running along the left side? Maybe a toggle preference feature, such as clicking comments above the article expands comments but collapse the article? Definitely things I could work in as user preference choices.

-----

4 points by mcescher 564 days ago | link

Dang it, I had this same idea a while back, except with pre-loading the pages so you can mouseover titles on the left and the story instantly pops up on the right.

This would help get through Reddit way faster -- just slowly move the mouse downward and zoom through all the [PIC] and misleading title submissions.

-----

6 points by migpwr 564 days ago | link

This is a keeper... thanks!

-----

1 point by noor420 564 days ago | link

Yes, thanks a lot from me too.

-----

1 point by jedc 564 days ago | link

+1 from me... it's great!

-----

1 point by nir 563 days ago | link

If anybody's up for it (my own CSS/JS skills aren't much use), you could probably build an online, non-Greasemonkey version of this with an app I've been working on: http://feedvolley.com/

(Basically it lets you take an RSS feed and present it in HTML templates, with whatever Javascript/HTML/etc you want. If you have any questions or need any help feel free to email me at niryariv@gmail.com)

-----

1 point by ars 564 days ago | link

Can you also put the list of links in an iframe of the same size as the article pane?

So that the browser window does not get a scroll bar, and instead you have two scroll bars - one for each pane.

And BTW it's quite possible to have it auto size the iframe using CSS. You should not need to have it fixed.

Set:

HTML, BODY { height: 100%; } Then give the two iframes height's of 100%, and add a padding to the article iframe giving you space for the two orange bars, which you put in place with position fixed (either on top, or on bottom, as needed.)

i.e. if each bar is 10px high, then either do padding-top: 20px; (space for two bars), or padding: 10px 0px; (10 on top and on bottom)

Hope that helps.

Oh, also get rid of the padding/margin around the body.

-----

1 point by agentbleu 564 days ago | link

what about split view, this seems very similar and no one has mentioned that?

-----

1 point by Zev 564 days ago | link

I like the idea a lot. The only thing I'd like to see in it is the option of having the sites stacked horizontally instead of vertically next to each other. Maybe I'm just weird but I find it easier to read something when there's two or three lines per paragraph instead of seven or eight. Less likely to get cross eyed and all..

-----

1 point by tdupree 564 days ago | link

It appears that when there is an article listed with 2 separate links in the title, it then doesn't auto populate the comments panel correctly. Clicking on the comments link for the comments you wish to read works properly still.

Ill get it fixed right away.

-----

1 point by tdupree 564 days ago | link

Fixed the comments panel bug. The comments panel should load correctly for each article, even after clicking through "More".

-----

1 point by daniel-cussen 564 days ago | link

Feedback: color of header is set to orange by default. Should match header.

-----

1 point by tdupree 564 days ago | link

Could you clarify what you mean?

-----

1 point by graywh 564 days ago | link

Once you get enough karma, you can change the color of the orange bar at the top of HN.

-----

1 point by dandelany 564 days ago | link

Nice script! I quite like it... though its too early to tell whether or not it'll become my preferred method of hacker newsing.

One big issue (may have been tarkin2's problem), but an easy one to fix, is that news.ycombinator.org also points to hacker news, but your script is only active on .com!

Another thing: is there any way you could set the height of the open comments/article frame to the height of the browser viewport (minus 25px for the header)? this gets rid of the annoying problem of scrolling all the way to the bottom of an article (or comments), and then having to switch focus to the main frame just to scroll to see the bottom of the internal frame.

Thanks for the helpful script!

-----

1 point by tdupree 564 days ago | link

Thank you dandelany :)

I think I fixed the .org problem. I will take a look at your viewport suggestion soon too.

-----

1 point by markbao 564 days ago | link

It's too bad this doesn't work in Safari with GreaseKit plugin.

-----

1 point by tdupree 564 days ago | link

I'll look into what's required to make that work.

-----

1 point by tarkin2 564 days ago | link

Help! I installed it, even restarted ff3, and it displays when i right click on the monkey, but i don't see a change... i'm on 1024x748 if that makes a difference.

-----

4 points by tdupree 564 days ago | link

hu, I'm not really sure why it wouldn't work. As far as external resources, it pulls jQuery off of the Google AJAX Library CDN. Maybe something is blocking it from getting the jQuery script?

Did you edit the screen size preference in the code? Maybe an extra character got tacked in there or forgotten.

HN community, any ideas?

-----

3 points by AbgRhyre 564 days ago | link

Most likely NoScript. I had this same problem when I installed it.

-----

1 point by tarkin2 564 days ago | link

You're right. NoScript was blocking googleapis.

-----

1 point by dmix 564 days ago | link

I like it, I'm definitely going to use this.

The comments button at the top didn't seem to work on every page.

But works good none the less.

-----

5 points by tdupree 564 days ago | link

Yeah, I noticed that after click on the "More" link and browsing the second page of articles, that I ran into some problems with the comments bar. Sometimes it takes clicking on the comments link for the article. I will look into fixing this.

-----

4 points by SomePoorSchmuck 564 days ago | link

Your willingness and enthusiasm to improve on this is greatly appreciated. I'm excited to see the final product!

-----

1 point by truebosko 564 days ago | link

That is very cool. I always enjoy reading the comments of the article after I read it and this makes it a bit easier. I'll try it out

-----

1 point by Rain0620 564 days ago | link

Great idea, this makes it a lot easier to go from one article to the next. I'll use it, thanks tdupree!

-----

3 points by markdupree 564 days ago | link

Easy...simple...I especially like the highlighting of the pages that have been read!

-----




Lists | RSS | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Analytics by Mixpanel