The out of context top-level display of comments when I navigate to them always bothered me, but up until recently I haven't realized there is a way to go to the actual comment via a simple URL change. 

From https://www.lesswrong.com/posts/<postid>/?commentId=<commentid>
To https://www.lesswrong.com/posts/<postid>#<commentid>

Here is a quick gpt4 generated userscript that does this. 

// ==UserScript==
// @name         Always show in-context comments
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Redirect from '?commentId=' format to '#'
// @author       Vlad Sitalo
// @match        https://www.lesswrong.com/*
// @grant        none
// ==/UserScript==


(function() {
    'use strict';

    var checkAndRedirect = function() {
        var url = window.location.href;
        if(url.includes("?commentId=")){
            var newUrl = url.split("?commentId=").join("#");
            window.location.href = newUrl;
        }
    };

    // Run on page load
    checkAndRedirect();

    // Run on URL change
    var pushState = history.pushState;
    history.pushState = function() {
        pushState.apply(history, arguments);
        checkAndRedirect();
    };

    var replaceState = history.replaceState;
    history.replaceState = function() {
        replaceState.apply(history, arguments);
        checkAndRedirect();
    };

    window.addEventListener('popstate', checkAndRedirect);
})();
New Comment
8 comments, sorted by Click to highlight new comments since: Today at 1:00 PM

Whenever I browse to a comment link I'm just waiting until the page loads so that I can use the See Context button.

Oh, that actually suggests a slightly better version, that won't reload the page. Updated the post!

Uh nvm, that doesn't work reliably bc of the comment lazy loading 🤔

I wish I could use this on mobile...

I don't understand why the non-context display option exists.

(Except for a bug where "see in context" doesn't work when the parent is collapsed)

If you use android: https://kiwibrowser.com/ supports extensions!

When you use a browser you're putting an enormous amount of trust in it's manufacturer to get security right, and I don't have that level of trust for most vendors.

That's fair. I believe kiwi is a fork of chrome that is kept up to date with a set of patches applied on top fwiw.

How up to date? Chrome security patches are very often followed by reverse engineering and exploitation, so you need to be very prompt.

(Yes, this means I don't trust any browsers except Chrome, Firefox, Safari)