in reply to Re^4: Ability to mark specific "newest nodes" nodes as read (CSS :visited)
in thread Ability to mark specific "newest nodes" nodes as read

"and already visited links have at least another color"
Yeah, that's what I've been using. I just click any read node directly to mark it as visited. I guess one setting that would be nice for both Newest Nodes and Recent Threads would be the ability say "I've checked all older than [x] days old" instead of simply "I've checked all of these". I realize you can "Clear my 'last checked' time" and simply set 'Show nodes created within the past x days', but then you lose the td.reply-new css styling functionality.
  • Comment on Re^5: Ability to mark specific "newest nodes" nodes as read (CSS :visited)

Replies are listed 'Best First'.
Re^6: Ability to mark specific "newest nodes" nodes as read (CSS :visited)
by LanX (Saint) on Mar 06, 2024 at 15:45 UTC
    > would be nice for both Newest Nodes and Recent Threads would be the ability say "I've checked all older than x days old" instead of simply "I've checked all of these".

    OK, I see what you mean now.

    I don't know if the gods would approve that and I learned not to invest in patches which will not be accepted.

    But you can hack that for yourself.

    If you right-click on [I've checked all of these] you'll be offered to investigate the button in the dev-console.

    There you'll find a timestamp in pageloadtime which can be manipulated

    <form method="post" action="?" enctype="multipart/form-data"> <span><input type="hidden" name="node_id" value="3628"></span> <input type="hidden" name="pageloadtime" value="1709739362"> <input type="submit" name="viewedNewNodes" value="I've checked all of +these"> </form>

    after substracting 86400*days I filled the new value in and hit the button.

    To make it more comfortable, you can either write a bookmarklet with javascript: protocol or a nodelet-hack to do so.

    HTH! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

Re^6: Ability to mark specific "newest nodes" nodes as read (CSS :visited)
by LanX (Saint) on Mar 06, 2024 at 09:49 UTC
    > but then you lose the td.reply-new css styling functionality.

    Not sure what you mean...

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

      After you click "I've checked all of these" nodes created after that time will contain the tags td.reply-new and td.reply-new-body which can be used to style newly created nodes. For example, you can use a different background color to highlight new nodes within a thread. After you click "Clear my 'last checked' time" these tags no longer appear.
        Wow, many thanks. :)

        I'm already here for over 15 years and wasn't aware of this.

        Mainly because it's only explained in About the Newest Nodes view only in context of Newest Nodes.

        Since it doesn't apply to RAT and most monks regard NN only as poor man's version, they will not know it either.

        But it's certainly useful if one visits a thread of multiple nested posts and the new ones are highlighted

        All I needed was putting this into my Display Settings

        /* === Newest Nodes === */ td.reply-new { background-color: #FC7 } td.reply-new-body { background-color: #FBB }

        Still have to check how this plays combined with the aforementioned :visited pseudo class.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        see Wikisyntax for the Monastery