Skip to content

Instantly share code, notes, and snippets.

View KiitoX's full-sized avatar
👤

Manuel Caldeira KiitoX

👤
View GitHub Profile
@KiitoX
KiitoX / mdn-usability.user.css
Last active April 23, 2022 14:49
MDN 2022 redesign usability fixes, use with Stylus (https://add0n.com/stylus.html)
/* ==UserStyle==
@name MDN Usability Fixes
@namespace kiito
@version 1.0.3
@description A collection of small contrast and usability fixes for the March 2022 MDN redesign.
@author kiito
@license CC-BY-4.0
@updateURL https://gist.githubusercontent.com/KiitoX/738160b8373c89b7709d0e92620d83eb/raw/mdn-usability.user.css
==/UserStyle== */
@KiitoX
KiitoX / youtubemusicvolume.js
Last active March 14, 2024 12:19
More volume steps on youtube music
// ==UserScript==
// @name More volume steps on youtube music
// @version 1.0.5
// @author Emma
// @license WTFPL; do with this whatever you want
// @namespace https://github.com/KiitoX
// @updateURL https://gist.githubusercontent.com/KiitoX/38f8e4c1375939848a79cfa756fa32ef/raw/youtubemusicvolume.js
// @match https://music.youtube.com/*
// @grant none
// @run-at document-end
@KiitoX
KiitoX / mastofe-style-fix.js
Created June 10, 2019 12:24
Mastodon fix height of Getting Started column
// ==UserScript==
// @name Mastodon height fix
// @namespace https://gist.github.com/KiitoX/cca9c1d5ecd08de1c8f41638825882e0
// @version 0.1
// @description adjust the height for the getting started column after it's added
// @author KiitoX
// @match https://niu.moe/web/*
// @grant none
// ==/UserScript==
@KiitoX
KiitoX / mastofe-style-additions.css
Last active December 5, 2022 19:49
Mastodon compressed style tweaks
/**
* author: @[email protected]
* license: WTFPL, use however you wish
* url: https://gist.github.com/KiitoX/c88dcfe147e8aea5f5a1f7be40e74b52
*/
/* improve status padding */
.status {
padding: 8px 16px;
}
@KiitoX
KiitoX / lyrics.js
Created June 20, 2016 08:16
lyrics.js snippet, additional css and settings code not included
(...)
const scrollHandler = (state) => {
const lyricsP = $('#lyrics p');
if (state) { // enable auto scroll
lyricsP.attr('scroll', true);
animate = true;
timeHandler(remote.getGlobal('PlaybackAPI').data.time);
// reset scroll to proper place
} else { // disable auto scroll