frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Dear HN. Please make the Hacker News header stick to the top of the browser

6•cbeach•1h ago
Dear HN team - please add the following styles to the top <tr> of the Hacker News UI so the header bar sticks to the top of the browser as we scroll down:

    position: sticky;
    top: 0;
    z-index: 10;

Comments

markus_zhang•1h ago
Please don't. It reduces size and it's not far to pull up quickly.

Please make an option to turn it off if it is to be implemented.

collingreen•1h ago
Dear HN, please encourage more user control over the web instead. Wouldn't it be nice if it was easy to do this from within your own individual browser?

There are plenty of extensions and such to let you do stuff but it would be cool if it became easy and normal and built in for users to adjust and control their experience instead of all the ad- and spyware nonsense.

TheCleric•1h ago
No thanks.
denkmoon•1h ago
No thanks. You can do it client side if you care. Are you not a hacker?
Bender•1h ago
This could probably be done in uBlock in My Filters.
anfractuosity•1h ago
Yup the following seemed to work for me -

news.ycombinator.com###hnmain > tbody > tr:first-child:style( position: sticky; top: 0; z-index: 10;)

Bender•1h ago
Confirmed that works here.
wizzwizz4•1h ago
Why do you need z-index?

  /* ==UserStyle==
  @name           HN sticky topbar
  @namespace      https://news.ycombinator.com/user?id=wizzwizz4
  @version        1.0.0
  @description    Pins the HN topbar to the top of the viewport.
  @author         wizzwizz4
  ==/UserStyle== */
  
  @-moz-document domain("news.ycombinator.com") {
      #hnmain > tbody > tr:first-child {
          position: sticky;
          top: 0;
      }
  }
https://addons.mozilla.org/firefox/addon/styl-us/
wizzwizz4•1h ago
Adding a z-index was a hack to workaround the .rotate180 class creating a new stacking context, causing downvotes to be rendered over the sticky topbar. This is hella overengineered. https://news.ycombinator.com/triangle.svg is 131 bytes!

  <svg height="32" viewBox="0 0 32 16" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m2 27 14-29 14 29z" fill="#999"/></svg>
Meanwhile, the relevant section of https://news.ycombinator.com/news.css is much larger:

  .rotate180 {
    -webkit-transform: rotate(180deg);  /* Chrome and other webkit browsers */
    -moz-transform:    rotate(180deg);  /* FF */
    -o-transform:      rotate(180deg);  /* Opera */
    -ms-transform:     rotate(180deg);  /* IE9 */
    transform:         rotate(180deg);  /* W3C complaint browsers */
  
    /* IE8 and below */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand')";
  }
Just having a separate triangleup.svg and triangledown.svg would save bandwidth and rendering time, and make naïvely-written userstyles work properly! I thought Hacker News, of all websites, would be free from dodgy overengineered CSS…
wizzwizz4•29m ago
This should be easy, but data URIs are fighting me. I've shoved another image there instead. Maybe someone else can get this working properly?

  /* ==UserStyle==
  @name           HN sticky topbar
  @namespace      https://news.ycombinator.com/user?id=wizzwizz4
  @version        1.1.0-alpha
  @description    Pins the HN topbar to the top of the viewport.
  @author         wizzwizz4
  ==/UserStyle== */
  
  @-moz-document domain("news.ycombinator.com") {
      #hnmain > tbody > tr:first-child {
          position: sticky;
          top: 0;
      }
      .votearrow.rotate180 {
        transform: none;
        background-image: url(y18.svg);
      }
  }
MBCook•1h ago
Why do people like this so much? It seems every web site does it these days and I HATE it personally.

It takes up precious screen space for something that isn’t useful enough to need to be on screen constantly. And I can always just tap the top of the screen to jump to the top in a fraction of a second.

hysan•6m ago
Also voicing my opinion to please not do this. As a small phone + large font user, this would greatly reduce the amount of screen real estate. I think it would be a backwards step in accessibility for those with sight problems.

Orforglipron led to significantly greater reductions in weight than placebo

https://www.nejm.org/doi/pdf/10.1056/NEJMoa2511774
1•davikr•10m ago•0 comments

Ask HN: Is it racist and elitist to criticize people for using AI to write?

1•amichail•12m ago•5 comments

Ubuntu's plan to replace GNU CoreUtils with Rust is going as poorly as predicted

https://twitter.com/LundukeJournal/status/1967977345320734823
3•greatgib•13m ago•1 comments

Node-0-7.5B: A collaborative multi-participant, model-parallel pretrain

https://dashboard.pluralis.ai/
2•itkovian_•15m ago•0 comments

Show HN: I built a platform for long-form media recs (books, articles, etc.)

https://rhomeapp.com/Guest
2•rohannih•16m ago•0 comments

Apple releases iOS 15.8.5 security update for 10-year old iPhone 6s

https://support.apple.com/en-us/125142
26•jerlam•21m ago•1 comments

AMDVLK (AMD Open Source Driver For Vulkan) project is discontinued

https://github.com/GPUOpen-Drivers/AMDVLK/discussions/416
1•haunter•24m ago•0 comments

Tyr Driver Being Submitted for Linux 6.18 as Rust-Based Arm Mali Driver

https://www.phoronix.com/news/Rust-DRM-Drivers-Linux-6.18-Tyr
1•losgehts•26m ago•0 comments

Long Running OpenAI Agent Researcher

https://github.com/autokitteh/kittehub/tree/main/ai_agents/openai_agent_researcher
1•itayd•29m ago•0 comments

Show HN: SessionBase, save and share AI coding sessions

https://www.sessionbase.ai/
1•owenmccadden•35m ago•0 comments

R MCP Server

https://github.com/finite-sample/rmcp
1•neehao•36m ago•0 comments

The West Wing and the Death of Belief

https://www.theindex.media/p/the-west-wing-and-the-death-of-belief
8•joanwestenberg•37m ago•1 comments

Understanding Spall vs. Fragmentation(2023)

https://tacticon.com/tactical-products-know-how/understanding-spall-vs-fragmentation/
1•rolph•41m ago•1 comments

Details on how Australia's social media ban will work are finally becoming clear

https://theconversation.com/details-on-how-australias-social-media-ban-for-under-16s-will-work-ar...
3•defrost•43m ago•1 comments

Full M18 diagnostics revealed [video]

https://www.youtube.com/watch?v=tHj0-Gzvbeo
2•jakogut•49m ago•0 comments

StarCraft successor Stormgate tanks; industry is blamed

https://www.windowscentral.com/gaming/pc-gaming/stormgate-dev-blames-flop-industry-issues-reviews...
6•neko_ranger•49m ago•3 comments

New Phoenix attack bypasses Rowhammer defenses in DDR5 memory

https://www.bleepingcomputer.com/news/security/new-phoenix-attack-bypasses-rowhammer-defenses-in-...
4•akyuu•51m ago•0 comments

New UAP video demonstrating bizzare physics in hellfire missile interaction

https://www.youtube.com/watch?v=1GueHhT1jV0
2•K0balt•52m ago•5 comments

JEP 504: Remove the Applet API

https://openjdk.org/jeps/504
2•nxobject•56m ago•0 comments

LimeWire Acquires Fyre Fest

https://www.stereogum.com/2323058/fyre-festival-acquired-by-limewire/news/
1•coloneltcb•56m ago•1 comments

I launched a Mac utility; now there are 5 clones on the App Store using my story

26•tTarnMhrkm•1h ago•12 comments

Ask HN: Why don't we have a shared "libchrome" the way we have glibc or DirectX?

3•omagdy7•1h ago•3 comments

Show HN: Scientific Calculator for Android

https://play.google.com/store/apps/details?id=scientific.codegres.calculator&hl=en_US
2•Codegres•1h ago•0 comments

VoidBreaker Was Made by One Person and Might Be 2025's Best FPS

https://kotaku.com/voidbreaker-fps-review-steam-pc-gamepass-titanfall-roguelike-roguelite-2000621067
2•PaulHoule•1h ago•0 comments

Show HN: WhatsApp SMS IVR Email SchedulerText

https://timetext.in/
1•Codegres•1h ago•0 comments

Detaching GraalVM from the Java Ecosystem Train

https://blogs.oracle.com/java/post/detaching-graalvm-from-the-java-ecosystem-train
2•philonoist•1h ago•0 comments

Show HN: MSPaint for Android

https://play.google.com/store/apps/details?id=com.sketch.paint&hl=en_US
1•Codegres•1h ago•0 comments

Learn Your Way: transform content into interactive lessons by Google

https://learnyourway.withgoogle.com/
2•mustaphah•1h ago•0 comments

US drops Colombia as drug war partner, puts it on rogue nation list

https://www.business-standard.com/world-news/us-drops-colombia-as-drug-war-partner-puts-it-on-rog...
5•geox•1h ago•0 comments

Show HN: Luna, an in-memory SQL server for object storage data

https://github.com/flowerinthenight/luna
1•f14t•1h ago•0 comments