Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Message Grep
// @namespace reddit.com/r/agentlame
// @description enter something useful
// @include http://www.reddit.com/user/PostsMRCquotes
// @version 1.1
// ==/UserScript==
function messagegrep() {
// ==UserScript==
// @name Hide toolbox bar
// @namespace http://reddit.com/toolbox
// @version 0.1
// @include htt*://*.reddit.com/*
// ==/UserScript==
(function() {
$('#tb-bottombar-hidden').hide();
})()
// ==UserScript==
// @name Mod Mail Pro (Shill Edition)
// @namespace http://www.reddit.com/r/toolbox
// @author agentlame, creesch, DEADB33F, gavin19
// @description Filter subs from mod mail.
// @match *://*.thefempire.org/message/moderator/*
// @match *://*.thefempire.org/r/*/message/moderator/*
// @include *://*.thefempire.org/message/moderator/*
// @include *://*.thefempire.org/r/*/message/moderator/*
// @version 3.1
@agentlame
agentlame / mtpf
Created July 30, 2013 01:14
modtools pagination fix
// Function to sort items
function sortThings(order, asc) {
var pagination = $('#siteTable .nextprev');
var things = $('#siteTable .thing').sort(function (a, b) {
(asc) ? (A = a, B = b) : (A = b, B = a);
switch (order) {
case 'age':
var timeA = new Date($(A).find('time:first').attr('datetime')).getTime(),
timeB = new Date($(B).find('time:first').attr('datetime')).getTime();
@agentlame
agentlame / umodfilter.user.js
Created July 16, 2013 23:37
unmod queue filter
// ==UserScript==
// @name Reddit unmoderated filter
// @namespace redditunmoderated
// @description Some various changes to reddit
// @include http://www.reddit.com/r/mod/about/unmoderated*
// @include http://*.reddit.com/r/mod/about/unmoderated*
// @include http://reddit.com/r/mod/about/unmoderated*
// @version 1.0
// ==/UserScript==
//unsub:
$.post('api/subscribe', {
action: 'unsub',
sr: 'al_dev', //sub name without /r/
uh: reddit.modhash
});
@agentlame
agentlame / spam
Created July 10, 2013 21:32
test ver of notifier with log spam.
// ==UserScript==
// @name Toolbox Notifier
// @namespace http://www.reddit.com/r/toolbox
// @author creesch, agentlame
// @description notifications of messages
// @include http://reddit.com/*
// @include https://reddit.com/*
// @include http://*.reddit.com/*
// @include https://*.reddit.com/*
// @downloadURL http://userscripts.org/scripts/source/172111.user.js
@agentlame
agentlame / mb112
Created July 10, 2013 01:09
mbutton 1.12
// ==UserScript==
// @name Mod Button
// @namespace http://www.reddit.com/r/toolbox
// @author agentlame, creesch, LowSociety
// @description Universal moderator action button.
// @include http://www.reddit.com/*
// @include http://reddit.com/*
// @include http://*.reddit.com/*
// @downloadURL http://userscripts.org/scripts/source/167236.user.js
// @version 1.12
// ==UserScript==
// @name Mod Mail Desktop Notifications
// @namespace http://www.reddit.com/r/agentlame
// @author reddit, agentlame
// @description Show desktop notifications for new mod mail threads (webkit only)
// @include http://www.reddit.com/*
// @include http://reddit.com/*
// @include http://*.reddit.com/*
// @downloadURL
// @version 0.9
@agentlame
agentlame / hmc.user.js
Last active December 19, 2015 04:28
Highlight Your Comments in subs you mod.
// ==UserScript==
// @name Highlight Mod Comments
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @include http://reddit.com/*
// @include https://reddit.com/*
// @include http://*.reddit.com/*
// @include https://*.reddit.com/*
// @copyright 2012+, You