Skip to content

Instantly share code, notes, and snippets.

@br4nnigan
br4nnigan / RES spoiler protection
Last active Dec 19, 2017
snippet for reddit that hides subreddit names unless hovered
View RES spoiler protection
a.subreddit[href$="r/nononono/"]:hover,
a.subreddit[href$="r/SweatyPalms/"]:hover {
min-width: 12em;
display: inline-block;
margin-bottom: 0;
}
a.subreddit[href$="r/nononono/"]:not(:hover),
a.subreddit[href$="r/SweatyPalms/"]:not(:hover) {
font-size: 0;
position: relative;
@br4nnigan
br4nnigan / xpost.user.js
Last active Aug 29, 2015
create direct links to x-posted subs
View xpost.user.js
// ==UserScript==
// @name reddit x-post
// @namespace reddit_xpost
// @description add x-post link
// @include https://www.reddit.com/*
// @version 1.1
// @grant none
// ==/UserScript==
function makeXpostLinks () {