Skip to content

Instantly share code, notes, and snippets.

View unarist's full-sized avatar

unarist unarist

View GitHub Profile
// ==UserScript==
// @name gh - show approvals
// @namespace https://github.com/unarist
// @version 0.4
// @author unarist
// @match https://github.com/*
// @grant none
// @downloadURL https://gist.github.com/unarist/c45bd5e8102afe7ce27d757a87819ea4/raw/github-show-approvals.user.js
// @run-at document-idle
// @noframes
@unarist
unarist / mastodon-min_id-autoscroll.user.js
Created May 26, 2020 06:31
Mastodon - Jump to the bottom on min_id pages
// ==UserScript==
// @name Mastodon - Jump to the bottom on min_id pages
// @namespace https://github.com/unarist/
// @version 0.1
// @author unarist
// @match https://*/@*
// @downloadURL https://gist.github.com/unarist/654da43b13108d30d6dbb602e42cd6d8/raw/mastodon-min_id-autoscroll.user.js
// @grant none
// @noframes
// @run-at document-idle
@unarist
unarist / github-lightbox.user.js
Last active April 27, 2021 12:59
githubのissue/prでクリックすると画像を大きくするやつ
// ==UserScript==
// @name github - lightbox
// @namespace https://github.com/unarist/
// @version 0.1
// @author unarist
// @match https://github.com/*/*/issues/*
// @match https://github.com/*/*/pull/*
// @grant none
// @downloadURL https://gist.github.com/unarist/982dcff096062f53406bf0ab5d470744/raw/github-lightbox.user.js
// @license MIT License
@unarist
unarist / index.html
Created February 12, 2020 08:20
bookmarklet template
<html>
<body>
<script>
const x =
function() {
// bookmarklet body
};
document.body.innerHTML = '';
document.body.appendChild(document.createTextNode('右のリンクをブックマークバーにドラッグして登録: '));
@unarist
unarist / mastodon-hide-private.user.css
Created January 1, 2019 16:16
Mastodon - Hide private posts
/* ==UserStyle==
@name Mastodon - Hide private posts
@namespace github.com/unarist
@version 1.0.0
@description Hide private posts from timeline
@author unarist
==/UserStyle== */
@-moz-document regexp("^https://[^/]+/web/.*") {
/* :not(.muted) filters notification */
#!/bin/bash
set -eu
master=upstream/master
ourremote=origin
ignore_pattern="^pr/|^(master|develop)$"
skip_pattern="^(test|draft)/"
candidates=()
@unarist
unarist / mastodon-add-older-newer-link.user.js
Last active July 7, 2022 19:32
Mastodon - Add older/newer link
@unarist
unarist / mastodon-expand-quesdon-answer.user.js
Last active September 6, 2018 04:47
Mastodon - Expand Quesdon answer
// ==UserScript==
// @name Mastodon - Expand Quesdon answer
// @namespace https://github.com/unarist/
// @version 0.3.1
// @description Automatically loads remain parts of the answer into WebUI
// @author unarist
// @downloadURL https://gist.github.com/unarist/348f4d39184330cd2b3c78efe9b9f75e/raw/mastodon-expand-quesdon-answer.user.js
// @match https://*/web/*
// @connect quesdon.rinsuki.net
// @require https://twemoji.maxcdn.com/2/twemoji.min.js?11.0
@unarist
unarist / mastodon-pii-spoiler.user.js
Last active November 14, 2019 16:38
Mastodon - PII spoiler
// ==UserScript==
// @name Mastodon - PII spoiler
// @namespace https://github.com/unarist/
// @version 0.3.0
// @description Hide sensitive information on admin page
// @author unarist
// @downloadURL https://gist.github.com/unarist/60d3cea2a4ac37f8e302209df6d170f6/raw/mastodon-pii-spoiler.user.js
// @match https://*/admin/accounts/*
// @match https://*/admin/accounts?*
// @grant none
@unarist
unarist / mastodon-mstdbg.user.js
Last active February 8, 2021 09:11
Mastodon - Add debug tools to window.mstdbg
// ==UserScript==
// @name Mastodon - Add debug tools to window.mstdbg
// @namespace https://github.com/unarist
// @version 0.5
// @description no description :)
// @author unarist
// @match https://*/web/*
// @require https://unpkg.com/axios/dist/axios.min.js
// @grant none
// @downloadURL https://gist.github.com/unarist/9722831a794b5537dc0f749ee49da55a/raw/mastodon-mstdbg.user.js