Live data from Hacker News

OnePage: An Easier Way to Browse Hacker News

userscripts.org

31–37 of 37 posts

Re: OnePage: An Easier Way to Browse Hacker News

#31
post #18
post #2

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.

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

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

Re: OnePage: An Easier Way to Browse Hacker News

#32
post #14

Earlier quoted context omitted.

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?

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

You're right. NoScript was blocking googleapis.

Re: OnePage: An Easier Way to Browse Hacker News

#35
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.

Re: OnePage: An Easier Way to Browse Hacker News

#37
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)

Post reply on HN