Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created January 18, 2019 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelmota/5729268e8e897d29780de9ebd9ded1eb to your computer and use it in GitHub Desktop.
Save miguelmota/5729268e8e897d29780de9ebd9ded1eb to your computer and use it in GitHub Desktop.
Tampermonkey show reddit downvote buttons
// ==UserScript==
// @name Reddit Show Downvote Buttons
// @namespace http://tampermonkey.net/
// @version 0.1
// @description The front page of the internet
// @author You
// @match https://www.reddit.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var items = document.querySelectorAll('.arrow[data-event-action="downvote"]')
for (var i = 0; i < items.length; i++) {
items[i].style.display = 'block'
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment