Skip to content

Instantly share code, notes, and snippets.

@Eklei
Eklei / Infinite Craft (neal.fun) BEAUTIFIED.user.css
Created February 6, 2024 00:15
CSS - Infinite Craft (neal.fun) BEAUTIFIED - Reshapes the interface and compresses the spacing to allow far more items on-screen at once.
/* ==UserStyle==
@name Infinite Craft (neal.fun) BEAUTIFIED
@namespace github.com/openstyles/stylus
@version 2024.02.05
@description Reshapes the interface and compresses the spacing to allow far more items on-screen at once.
@author Eklei
==/UserStyle== */
@-moz-document url-prefix("https://neal.fun/infinite-craft/") {
@media screen and (min-width: 801px) {
@Eklei
Eklei / Infinite Craft (neal.fun) BETTERIFIED.user.js
Created February 6, 2024 00:15
JS - Infinite Craft (neal.fun) BETTERIFIED - Tracks known combos, and allows exporting and importing your save with ctrl+c and ctrl+v.
// ==UserScript==
// @name Infinite Craft (neal.fun) BETTERIFIED
// @version 2024.02.05
// @author Eklei
// @namespace https://github.com/Eklei
// @description Tracks known combos, and allows exporting and importing your save with ctrl+c and ctrl+v.
// @match https://neal.fun/infinite-craft/*
// @grant none
// @run-at document-start
// ==/UserScript==
@Eklei
Eklei / Wikipedia - The Goggles Do Nothing.user.css
Last active January 25, 2023 23:52
Deuglifies the new Wikipedia theme by fixing the colors (which are mostly blinding white by default)
/* ==UserStyle==
@name Wikipedia - The Goggles Do Nothing
@version 2023.01.25
@description Deuglifies the new Wikipedia theme by fixing the colors (which are mostly blinding white by default)
@namespace https://github.com/Eklei
@author Eklei
==/UserStyle== */
@-moz-document domain("wikipedia.org") {
:root {
@Eklei
Eklei / YouTube Redesign Redesign.user.css
Last active June 12, 2020 01:31
YouTube cleanup. Makes masthead stay put at the top of the page instead of following you down. Embiggens theater mode player to be like an actual video player. Auto-expands YouTube comments. Manages skeleton theater.
@-moz-document domain("youtube.com") {
/*
YouTube has a skeleton theater. Spooky scary skeletons lurk before the page fully loads.
YouTube, probably: http://www.prequeladventure.com/this/story2068.gif
*/
button[title="Play on TV"] { /*Chrome get this garbage out of here.*/
display: none !important;
}
#search-form input#search { /*Chrome intelligently selects a dynamic default foreground color based on background color. Firefox doesn't.*/
color: #ffffffe0; /*Not !important, since we're just supplementing a browser default.*/
@Eklei
Eklei / vid.me playback speed.user.js
Last active September 13, 2017 02:23
Adds playback speed options to vid.me in the the quality menu (gear icon).
// ==UserScript==
// @name vid.me Playback Speed
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Adds playback speed options to vid.me in the quality menu (gear icon).
// @author Eklei
// @match https://vid.me/*
// @grant none
// ==/UserScript==
@Eklei
Eklei / SCP Name Tracker.user.js
Last active November 1, 2018 01:09
Retrieves SCP names and places them in page titles. Also puts tooltips on any instance of an SCP or experiment ID. The script will automatically create or update its cache by fetching the necessary index pages (including joke, explained, and archived SCPs) at most once every 3 days. The cache will also be created or updated whenever you visit an…
// ==UserScript==
// @author Eklei
// @name SCP Name Tracker
// @namespace eklei@fhqwhgads
// @description Retrieves SCP names and places them in page titles. Also puts tooltips on any instance of an SCP or experiment ID. The script will automatically create or update its cache by fetching the necessary index pages (including joke, explained, and archived SCPs) at most once every 3 days. The cache will also be created or updated whenever you visit an index page manually. As an added bonus, this script can defeat some memetic censoring (optional, see toggle at top of script). The automatic fetching only works on big boy browsers that are compliant with web standards from at least 2011. If you have some outdated mobile browser that isn't compliant, you can still generate a cache by visiting each index page manually.
// @version 2.4
// @include http://www.scp-wiki.net/*
// @include http://scp-wiki.wikidot.com/*
// @grant none
// ==/UserScript==
@Eklei
Eklei / Starbound Workshop Mod Loader
Last active April 5, 2022 20:57
This Python 3.0 script (courtesy of Dunto) finds any Starbound mods installed from the Steam workshop and adds them to the search path in sbinit.config.
#!/usr/bin/python
# From: http://community.playstarbound.com/threads/steam-workshop-mod-loader.119587/
# And: https://gist.github.com/Dunto/4f1396a784802bfbda12a029796c0f4b
# That was before Dunto sent this own valuable content into the memory hole.
# So here it is, back from the grave, because as I'm sure you know, the
# Internet interprets censorship as damage and routes around it.
# I have edited it to exclude workshop mod directories that are empty.
@Eklei
Eklei / Pretend You're Xyzzy.user.css
Last active August 6, 2016 19:47
"Pretend You're Xyzzy" interface cleanup (requires Stylish or similar extension) and cursive blank cards (additionally requires Greasemonkey or Tampermonkey)
/*If using Stylish for Chrome, you want to "Import" this stylesheet to apply the @-moz-document rule.*/
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("pretendyoure.xyz") {
#info_area, #tabs, .log { box-sizing:border-box!important; height:calc(100% + 20px)!important; }
.scoreboard { height:100%!important; }
.scoreboard>.game_message { display:none!important; }
.scorecard { font-size:9pt!important; padding:0 5px!important; height:auto!important; border-bottom:1px solid #ccc!important; }