Skip to content

Instantly share code, notes, and snippets.

@pacochi
pacochi / mastodon_show_faboo.user.js
Last active December 12, 2022 09:28
Mastodon の静的ページに⭐🔃した人のアイコンを表示します。
// ==UserScript==
// @name [Mastodon] show ⭐🔃 on static pages
// @namespace hen.acho.co
// @include /^https?:\/\/[^\/]+\/(?:@\w+|users\/\w+\/(?:statuses|updates))\/\d+/
// @version 1.221212
// @description add favoriter or booster icons next to counts
// @downloadURL https://gist.github.com/pacochi/d466d481fa9aa982c2f206815765fd53/raw/mastodon_show_faboo.user.js
// @run-at document-idle
// @grant none
// ==/UserScript==
@pacochi
pacochi / mastodon_misskey_pudding.user.js
Last active July 19, 2018 06:31
Mastodon で表示される⭐ボタンを misskey っぽいところからの投稿のみ🍮にします。
// ==UserScript==
// @name [Mastodon] This is not ⭐, but 🍮!
// @namespace hen.acho.co
// @include https://*/web/*
// @version 1.180415
// @description replace misskey's star button with pudding
// @downloadURL https://gist.github.com/pacochi/7a529cc0a344ba90e7b764f944e037e0/raw/mastodon_misskey_pudding.user.js
// @run-at document-idle
// @grant none
// ==/UserScript==
@pacochi
pacochi / mastodon_plane_zoom.user.css
Created May 8, 2018 07:03
お知らせ等で画面左下のキャラが潰されるインスタンスでキャラをポイントした時に拡大します。
.drawer__inner > .drawer__inner__mastodon {
transition: 0.5s;
}
.drawer__inner > .drawer__inner__mastodon:hover {
margin-top: -145px;
min-height: 192px;
}
@pacochi
pacochi / mastodon_em_visibility.user.css
Created May 8, 2018 13:36
Mastodon の見えにくい公開範囲を分かりやすく表示します。
/*
元 : https://mstdn.maud.io/@unarist/99654429632902892
崩れるところも結構あるらしい
*/
.status-unlisted::before, .status-private::before {
display: block;
position: absolute;
width: 14px;
height: 14px;
left: 10px;
@pacochi
pacochi / pixiv-replace-pawoo-with-webmastodon.user.js
Last active May 25, 2018 16:19 — forked from unarist/pixiv-replace-pawoo-with-webmastodon.user.js
Pixiv - Replace "Pawooでシェア" with web+mastodon button(+ #R-18 → #R18)
// ==UserScript==
// @name Pixiv - Replace "Pawooでシェア" with web+mastodon button
// @namespace hen.acho.co
// @version 0.3.180526
// @conrtibutor unarist https://gist.github.com/unarist/79068e361c8cf69af4b7a520914e1259
// @downloadURL https://gist.github.com/pacochi/30007cd93754d6e45e7942f0139a59da/raw/pixiv-replace-pawoo-with-webmastodon.user.js
// @match https://www.pixiv.net/bookmark_add.php?*
// @match https://www.pixiv.net/member_illust.php?*
// @match https://www.pixiv.net/novel/bookmark_add.php?*
// @match https://www.pixiv.net/novel/show.php?*
@pacochi
pacochi / pixivsketch_share_ex.user.js
Created July 9, 2018 14:28
pixiv Sketch ライブのシェア機能を Pawoo 以外の Mastodon でも利用できるようにします。(書きかけ)
// ==UserScript==
// @name ぴくすけライブで web+mastodon
// @namespace hen.acho.co
// @include https://sketch.pixiv.net/*/lives/*
// @version 0.180709
// @description i18n の字が見えたのであえてここを日本語にした
// @run-at document-idle
// @grant none
// ==/UserScript==
@pacochi
pacochi / pixivsketch_minimum_notification.user.js
Last active July 29, 2018 08:33
pixiv Sketch の通知でお知らせ・お題をカウントに入れないようにします。
// ==UserScript==
// @name [pixivSketch] minimum notification
// @namespace hen.acho.co
// @version 1.180729
// @description ignore announcements
// @author pacochi
// @match https://sketch.pixiv.net/*
// @downloadURL https://gist.github.com/pacochi/1e98fb37899018c761f0950fc2ceaada/raw/pixivsketch_minimum_notification.user.js
// @run-at document-start
// @grant none
@pacochi
pacochi / crypkos.htm
Created August 15, 2018 11:16
ダウンロードしたβ時代の Crypko を一覧にして表示します。 Crypkos フォルダに保存して開いてください。
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Crypkos</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="referrer" content="no-referrer">
<meta name="robots" content="none">
<style type="text/css">
body {
@pacochi
pacochi / mastodon_scroll_to_latest.user.js
Last active January 3, 2019 15:30
Mastodon のユーザ TL を開いた時にヘッダと固定トゥートを飛ばします。
// ==UserScript==
// @name [Mastodon] scroll to latest toot
// @namespace hen.acho.co
// @include /^https?:\/\/[^\/]+\/(?:@|users\/)\w+(?:\/[a-z_]+)?(?:\?.+)?$/
// @version 1.190104
// @description skip header and pinned toots
// @downloadURL https://gist.github.com/pacochi/0c98064dd8fdac78a1f1f7da362dc2e1/raw/mastodon_scroll_to_latest.user.js
// @grant none
// ==/UserScript==
@pacochi
pacochi / mastodon_boop_erait.user.js
Last active September 15, 2018 06:43
Mastodon の通知音カスタマイズ例。
// ==UserScript==
// @name [:don:] boop → "erait!"
// @namespace hen.acho.co
// @version 0.180915
// @description Proxy Audio sample
// @author pacochi
// @include https://mstdn.maud.io/web/*
// @run-at document-start
// @downloadURL https://gist.github.com/pacochi/a4bc2c8014086dcf5b9cadb1a03050a4/raw/mastodon_boop_erait.user.js
// @grant none