Reddit Annoying Click Space Remover

When viewing a post a single click in the large whitespace left or right will return to the subreddit overview - this script gets rid of that!

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name           Reddit Annoying Click Space Remover
// @description    When viewing a post a single click in the large whitespace left or right will return to the subreddit overview - this script gets rid of that!
// @author         Sgt. Nukem
// @include        https://www.reddit.com/
// @version        0.666
// @namespace https://greasyfork.org/users/324223
// ==/UserScript==


var childDivs = document.querySelectorAll('#SHORTCUT_FOCUSABLE_DIV > div > div > div');

if( childDivs[0] ) {
	childDivs[0].style.cursor = 'default';
	childDivs[0].onclick = function(event) { event.stopPropagation(); console.debug('Dicke Titten sind die geilsten!!!'); };
}