This file contains 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
/* ==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== */ |
This file contains 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 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 |
This file contains 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 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== |
This file contains 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
/** | |
* author: @[email protected] | |
* license: WTFPL, use however you wish | |
* url: https://gist.github.com/KiitoX/c88dcfe147e8aea5f5a1f7be40e74b52 | |
*/ | |
/* improve status padding */ | |
.status { | |
padding: 8px 16px; | |
} |
This file contains 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
(...) | |
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 |