Skip to content

Instantly share code, notes, and snippets.

View schuyberg's full-sized avatar

Schuyler Lindberg schuyberg

  • The University of British Columbia
  • Vancouver, BC
View GitHub Profile
@schuyberg
schuyberg / spotify_link_labels.tampermonkey.js
Last active February 10, 2018 19:52
Browse Spotify by Label! -- a Tampermonkey script to make copyright statements into hyperlinks in Spotify web player
@schuyberg
schuyberg / d20pfsrd-print-card
Last active May 26, 2019 06:21
Tampermonkey script to print d20pfsrd pages onto a 3x5 cards - adds buttons to print .statblock, and .article-content
// ==UserScript==
// @name d20pfsrd Print Card 2
// @match www.d20pfsrd.com/*
// @description print a statblock from d20pfsrd.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
const right_sidebar = document.querySelector(".right-sidebar");
@schuyberg
schuyberg / statblockerer.user.js
Last active July 19, 2019 21:31
add buttons to open articles and statblocks from d20pfsrd for easy saving / printing
// ==UserScript==
// @name d20pfsrd Statblockerer
// @match *://www.d20pfsrd.com/*
// @description adds buttons open a statblock from d20pfsrd.com in a new window to print or save
// @author schuyberg
// @grant none
// @version 0.1
// @updateURL https://gist.github.com/schuyberg/794d78bd34a0661cb72d5833a2a83934/raw/statblockerer.user.js
// @downloadURL https://gist.github.com/schuyberg/794d78bd34a0661cb72d5833a2a83934/raw/statblockerer.user.js
// @run-at document-end