Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unfortunately those don't contain the specific issues the OP mentioned.


You're replying to OP. :)

The link is in reference to "I found scans of his section on archive.org, including the issue where he announces the contest, but I couldn't find my particular contribution".


I've always wondered why HN doesn't have an OP indicator. A blue name ( similar to the green name for new accounts ) or an asterisk, just something subtle, would do.

Perhaps they don't want to mark out the OP as "special" to the resulting conversation, but it would help make the situation here clearer.


A good compromise would be only marking their top-level comments. And/or doing this only for Show/Ask/Tell threads.

I'm sending this thread to the admins as a feature request.


Tampermonkey to the rescue!


Quick slaptogether. I'm decidedly mediocre at web so if anyone has improvements, please post them :)

  // ==UserScript==
  // @name         HN OP highlight
  // @version      0.1
  // @description  Find OP username and change username color to blue
  // @match        https://news.ycombinator.com/item?id=*
  // @grant        none
  // @run-at       document-end
  // ==/UserScript==
  
  (function() {
    'use strict';

    // get OP 'userid' from class 'hnuser' in post subtext
    const opUsername = document.querySelector('span.subline a.hnuser')?.getAttribute('href');

    // Match other instances of same 'userid' in 'hnuser' class elsewhere in page
    if (opUsername) {
        const opHighlight = document.createElement('style');
        opHighlight.textContent = `
            /* Post header username */
            span.subline a.hnuser[href="${opUsername}"],
            /* Comment header username */
            span.comhead a.hnuser[href="${opUsername}"] {
                color: #2749F5 !important;
            }
        `;
        document.head.appendChild(opHighlight);
    }
  })();





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: