mcawesomept / Reddit - Show top level comments only

// ==UserScript==
// @name         Reddit - Show top level comments only
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Show top level comments only - use on demand by entering the post, enabling the user script, then disabling it 
// @author       mcawesomept
// @match        https://www.reddit.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant        none
// @license      MIT
// @updateURL    https://openuserjs.org/meta/mcawesomept/Reddit_-_Show_top_level_comments_only.meta.js
// ==/UserScript==

(function() {
    'use strict';
    if(window.location.href.indexOf("?&depth=1") === -1)
    {
        window.location.href = window.location.href + "?&depth=1";
    }
})();