This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function getModeratedSubreddits(after) { | |
const targetUrl = "https://www.reddit.com/subreddits/mine/moderator.json"; | |
const params = { | |
count: 100, | |
after: after || "" | |
}; | |
const request = await fetch(targetUrl + "?" + new URLSearchParams(params), { | |
method: "GET", | |
headers: { | |
"Accept": "application/json", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Devvit} from "@devvit/public-api"; | |
import {Icons as ImportedIcons} from "../../icons.js"; | |
const Icons = ImportedIcons as Record<string, string>; | |
// Your Font has to be added as individual characters at assets/fontname/decimalcodepoint.svg | |
// I used the below command to export my test font as individual character SVGs using fontforge | |
// fontforge -lang=ff -c 'Open($1); SelectWorthOutputting(); foreach Export($2); endloop;' test.ttf '%e.svg' | |
// Before uploading the app, create the icons using the command below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Place for Old Reddit | |
// @version 0.1 | |
// @source https://gist.github.com/PitchforkAssistant/3a100a38c6f1bf3326386ab00b8ebaaf | |
// @description Adds the 2022 /r/Place April Fool's joke to old reddit | |
// @author /u/PitchforkAssistant | |
// @match https://www.reddit.com/r/place/* | |
// @match https://old.reddit.com/r/place/* | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Second for Old Reddit | |
// @version 0.1 | |
// @source https://gist.github.com/PitchforkAssistant/76410194cd372f2b8ca34f6787a47b20 | |
// @description Adds the 2021 /r/Second April Fool's joke to old reddit | |
// @author /u/PitchforkAssistant | |
// @match https://www.reddit.com/r/Second/* | |
// @match https://old.reddit.com/r/Second/* | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name RES Image Size Label | |
// @namespace http://tampermonkey.net/ | |
// @version 1.1 | |
// @description Adds image size label when its expando is opened. Requires RES, supports NER. | |
// @author /u/PitchforkAssistant | |
// @match https://www.reddit.com/* | |
// @match https://old.reddit.com/* | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Imposter for Old Reddit | |
// @version 0.3 | |
// @source https://gist.github.com/PitchforkAssistant/8425b78645effa55ac3ce2b9ecb820f6 | |
// @description Adds the Imposter April Fool's joke to old reddit | |
// @author /u/PitchforkAssistant | |
// @match https://www.reddit.com/r/Imposter/* | |
// @match https://old.reddit.com/r/Imposter/* | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Todoist Gmail Tweaker | |
// @version 0.1 | |
// @description Moves the Todoist Gmail extension over the the guest-app bar. REQUIRES THE TODOIST GMAIL EXTENSION!!! | |
// @author PitchforkAssistant | |
// @match https://mail.google.com/* | |
// @match https://gmail.todoist.com/app?mini=1 | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, | |
#NebulaApp .Account { | |
background-color: #1F1F1F; | |
color: #aaa; | |
} | |
#NebulaApp .header { | |
color: #fff; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function() { | |
var users = new Set(); | |
var authors = {}; | |
/* Stores all the authors that need labels and all the unique users so each user is only requested once. */ | |
$(".author").each(function() { | |
if (!$(this).parent().find(".zombie-tag").length) { | |
var user = $(this).text(); | |
if (authors[user] == null) { | |
authors[user] = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function() { | |
$("#siteTable>.thing.comment").each(function() { | |
var thing = $(this); | |
var comment_link = thing.find("[data-event-action=full_comments]")[0]; | |
$.getJSON(comment_link + "/.json?limit=1", function(response) { | |
var removed_by = response[0]["data"]["children"][0]["data"]["banned_by"]; | |
var selftext = response[0]["data"]["children"][0]["data"]["selftext"]; | |
var author = response[0]["data"]["children"][0]["data"]["author"]; | |
var parent_thing = thing.find("p.parent"); | |
if (removed_by !== null) { |
NewerOlder