Skip to content

Instantly share code, notes, and snippets.

View krisu5's full-sized avatar
✌️
Hey

Kristian Salonen krisu5

✌️
Hey
View GitHub Profile
@krisu5
krisu5 / anilist_anti-social_extras.user.css
Last active April 21, 2021 12:09
AniList - Anti-Social (Extras)
/* ==UserStyle==
@name AniList - Anti-Social (Extras)
@author krisu (https://github.com/krisu5)
@namespace github.com/krisu5/userstyles
@homepageURL https://github.com/krisu5/userstyles/tree/master/AniList%20-%20Anti-Social
@version 1.0.0
@license unlicense
@preprocessor default
==/UserStyle== */
// ==UserScript==
// @name Reddit - /r/random with keyboard shortcut
// @description Easy access to discover random subreddits. Just press r+e
// @namespace krisu
// @include *://www.reddit.com/*
// @grant none
// ==/UserScript==
/* Mousetrap v1.4.6 by Craig Campbell <craig.is/killing/mice> */
(function(J,r,f){function s(a,b,d){a.addEventListener?a.addEventListener(b,d,!1):a.attachEvent("on"+b,d)}function A(a){if("keypress"==a.type){var b=String.fromCharCode(a.which);a.shiftKey||(b=b.toLowerCase());return b}return h[a.which]?h[a.which]:B[a.which]?B[a.which]:String.fromCharCode(a.which).toLowerCase()}function t(a){a=a||{};var b=!1,d;for(d in n)a[d]?b=!0:n[d]=0;b||(u=!1)}function C(a,b,d,c,e,v){var g,k,f=[],h=d.type;if(!l[a])return[];"keyup"==h&&w(a)&&(b=[a]);for(g=0;g<l[a].length;++g)if(k=