Skip to content

Instantly share code, notes, and snippets.

@pbausch
pbausch / applause.js
Last active April 18, 2018 20:56
Add one-click Basecamp applause boosts with Tampermonkey
// ==UserScript==
// @name Basecamp Applause Boost
// @namespace https://www.onfocus.com/
// @version 0.1
// @description Create an applause boost button
// @author Paul Bausch
// @match https://3.basecamp.com/*
// @grant none
// ==/UserScript==
@pbausch
pbausch / twitter-simplifier.css
Last active July 23, 2019 23:20
Remove things from Twitter with Stylus
div[data-testid="sidebarColumn"], header[role="banner"], h2[role="heading"] { display: none; }
div[data-testid="primaryColumn"], .r-1ye8kvj, .r-9x6qib { max-width: 600px; }
main[role="main"], html, body { background-color: #eee; }
main[role="main"] > div { width: inherit; max-width: 100%; margin: auto; }
.r-gtdqiz { position: inherit; }
/* avatars */
div[data-testid="tweet"] > :first-child { display: none; }
/* action buttons */
div[aria-label~="Reply"], div[aria-label~="Retweet"], div[aria-label="Share Tweet"] { display: none; }
.r-1mdbhws { max-width: 40px; }