Restore Downvote Arrows

Restores all arrows for those annoying sub-reddits that insist on having them hidden.

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

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

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           Restore Downvote Arrows
// @namespace      c3Zwcnj85t
// @description    Restores all arrows for those annoying sub-reddits that insist on having them hidden.
// @lastupdated    2012-06-24
// @version        1.1
// @license        GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @compatibility  Firefox 10.0
// @include        http://reddit.com/r/*
// @include        http://www.reddit.com/r/*
// @include        https://pay.reddit.com/r/*
// ==/UserScript==

// addGlobalStyle borrowed from http://diveintogreasemonkey.org/ - Thanks Mark
function addGlobalStyle(css) {
	var head, style;
	head = document.getElementsByTagName('head')[0];
	if (!head) { return; }
	style = document.createElement('style');
	style.type = 'text/css';
	style.innerHTML = css;
	head.appendChild(style);
}

addGlobalStyle('.arrow.down { display: block !important; visibility: visible !important; }');
addGlobalStyle('.arrow.downmod { display: block !important; visibility: visible !important; }');
addGlobalStyle('.arrow.up { display: block !important; visibility: visible !important; }');
addGlobalStyle('.arrow.upmod { display: block !important; visibility: visible !important; }');