4 ms·
or a little DSL for us to specify what we wanted on our homepage. (def homepage (page (top 10) (newest 5)))
by sharkbrainguy 18y ago
or a little DSL for us to specify what we wanted on our homepage.
(def homepage (page
(top 10)
(newest 5)))
- tlrobinson 18y ago<FRAMESET rows="66%, 34%"> <FRAME src="http://news.ycombinator.com/"> <FRAME src="http://news.ycombinator.com/newest"> </FRAMESET> No? Not quite what you were looking for?
- sidsavara 18y agoA little ugly, but a good 80% solution =P Reminds me of this article - http://thedailywtf.com/Articles/The_Complicator_0x27_s_Gloves.aspx http://thedailywtf.com/Articles/The_Complicator_0x27_s_Glove... ;) Gloves!
- markatson 18y agoI prefer: <FRAMESET cols="66%, 34%"> <FRAME src="http://news.ycombinator.com/"> <FRAME src="http://news.ycombinator.com/newest"> </FRAMESET> Makes it easier to read because Y content is usually skinny and most new screens are wide. :) edit: but I'm splitting hairs...
- sidsavara 18y agoNow that I think about it, I am pretty sure something like this is possible with some greasemonkey/iframe magic Still not a perfect solution as not everyone will install it - but a decent start eh?
- Xichekolas 18y agoDone! HN Toolkit: http://userscripts.org/scripts/show/25039 http://userscripts.org/scripts/show/25039 Install and turn on the 'Show new items at bottom of main page?' option. Let me know if you have problems.
- d0mine 18y agos{ var blacklist = GM_getValue('hndomains', ''); }{ var blacklist = GM_getValue('hnblacklist', ''); }x;
- Xichekolas 18y agoYeah I changed the name of that a couple versions back. If you want your old blacklist back, you can do something like: GM_setValue('hndomains', GM_getValue('hndomains', '') + ' ' + GM_getValue('hnblacklist', '')) GM_setValue('hnblacklist', '') And then upgrade to the new version. In the future I'll try and be more conscious of upgrades when I change something like that.
- d0mine 18y agoI don't use the script. I'd just thought that 'hnblacklist' would be a better name.
- sidsavara 18y agoCool! I installed it, and selected the option - and nothing happens. I still see 30 items at the bottom Can you tell me the exact URL that I should be seeing it at? I see toolkit. When I use that I see the search YC buttons etc, but when I select that option specifically, nothing happens. I am assuming http://news.ycombinator.com/ http://news.ycombinator.com/ is the main page you are referring to right? Edit: SOLVED. http://news.ycombinator.com/news http://news.ycombinator.com/news - now all is well! =)
- Xichekolas 18y agoDoh! the /news link is what I have bookmarked, so I didn't even think about just the index. Source has been updated to fix that. Thanks!
- Xichekolas 18y agoJust an update on this... the additions I made last night broke some stuff (and I apparently didn't test it well), so please update (as of now) to get fixes. Specifically, splitview got broken and a couple other little things were acting funny.
- bprater 18y agoHey, I kinda like that idea!
- pg 18y agoI'm planning to start letting people use code snippets to customize stuff, actually.