Skip to content

Instantly share code, notes, and snippets.

@roflsunriz
roflsunriz / twitter_image_fullsize_redirect.user.js
Last active June 16, 2025 11:44
twitter_image_fullsize_redirect : フルサイズ画像にリダイレクト
// ==UserScript==
// @name Twitter Image Fullsize Redirect
// @namespace FullsizeRedirect
// @version 1.3
// @description Twitterの画像リンクを自動的にフルサイズ画像にリダイレクト
// @author roflsuniz
// @match https://pbs.twimg.com/media/*
// @match https://ton.twimg.com/media/*
// @grant none
// @run-at document-start
@roflsunriz
roflsunriz / youtube_info_copier.user.js
Last active June 9, 2025 09:47
youtube_info_copier : Youtubeでタイトル、投稿者名、投稿日、URL、概要をコピー
// ==UserScript==
// @name YouTube Info Copier
// @namespace YouTubeInfoCopier
// @version 1.4
// @description YouTube動画の情報をワンクリックでクリップボードにコピー(ShadowDOM版)
// @author roflsunriz
// @match https://www.youtube.com/*
// @match https://youtu.be/*
// @grant none
// @updateURL https://gist.githubusercontent.com/roflsunriz/51f4f7854ab0eba88998c29bf096fe19/raw/youtube_info_copier.user.js
@roflsunriz
roflsunriz / twitter_mute_retweets.user.js
Last active May 24, 2025 07:03
twitter_mute_retweets : 閲覧中のユーザがつぶやいていないツイートを非表示にする
// ==UserScript==
// @name Hide retweets
// @name:ja リツイート非表示
// @namespace twitter_mute_retweets
// @version 1.1
// @description Hide tweets not belonging to currently shown user
// @description:ja 閲覧中のユーザがつぶやいていないツイートを非表示にする
// @author roflsunriz
// @license MIT
// @match https://x.com/*
@roflsunriz
roflsunriz / twitter_mute_filter.user.js
Last active May 24, 2025 07:12
twitter_mute_filter : 公式ミュート機能は単語(とTwitterが認識した語句)にしか効きません。ブラウザ版Twitterでこれを解決します。正規表現対応、設定メニュー付き。
// ==UserScript==
// @name Twitter文章完全ミュート
// @namespace twitter_mute_filter
// @version 1.2
// @description 公式ミュート機能は単語(とTwitterが認識した語句)にしか効きません。ブラウザ版Twitterでこれを解決します。正規表現対応、設定メニュー付き。シャドウDOM対応でページスタイルと衝突しません。
// @author roflsunriz
// @match https://twitter.com/*
// @match https://x.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant GM_getValue
@roflsunriz
roflsunriz / twitter_media_filter.user.js
Last active May 24, 2025 07:19
twitter_media_filter : タイムライン/リスト/詳細ページで画像/動画を含まないツイートを非表示にする
// ==UserScript==
// @name Twitter/X Media Filter
// @namespace TwitterMediaFilter
// @version 1.2
// @description タイムライン/リスト/詳細ページで画像/動画を含まないツイートを非表示にする
// @author roflsunriz
// @match https://twitter.com/*
// @match https://x.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant GM_getValue
@roflsunriz
roflsunriz / player_jiggle.pyw
Created May 10, 2025 12:04
player_jiggle : Jiggle software for player
import tkinter as tk
from tkinter import ttk
import threading
import time
import importlib
import subprocess
import sys
# 必要なパッケージの自動インストール
def install_package(package):
@roflsunriz
roflsunriz / chatgpt-copy-summary.user.js
Last active May 24, 2025 07:56
chatgpt-copy-summary : ChatGPTのサマリーを「Q.[ユーザーの入力] A.[ChatGPTの応答先頭300文字]... [URL]」形式でコピーします
// ==UserScript==
// @name ChatGPT サマリーコピー
// @namespace chatgpt-copy-summary
// @version 1.1
// @description ChatGPTのサマリーを「Q.[ユーザーの入力] A.[ChatGPTの応答先頭300文字]... [URL]」形式でコピーします
// @author roflsunriz
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @match https://chat.com/*
// @icon https://chat.openai.com/favicon.ico
@roflsunriz
roflsunriz / chatgpt-generation-complete.user.js
Last active May 24, 2025 07:57
chatgpt-generation-complete : ChatGPT の回答生成が完了したらプッシュ通知でお知らせ
// ==UserScript==
// @name ChatGPT 生成完了通知
// @namespace chatgpt-generation-complete
// @version 1.2
// @description ChatGPT の回答生成が完了したらプッシュ通知でお知らせ
// @author roflsunriz
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @match https://chat.com/*
// @icon https://chat.openai.com/favicon.ico
@roflsunriz
roflsunriz / twitter_thread_copier.user.js
Last active June 26, 2025 01:49
twitter_thread_copier : Copy tweets and replies from a Twitter/X thread with formatting
// ==UserScript==
// @name Twitter Thread Copier
// @namespace twitterThreadCopier
// @version 4.2
// @description Copy tweets and replies from a Twitter/X thread with formatting, supports auto-expanding "Show more" texts, fixing shortened URLs and including quoted tweets
// @author roflsunriz
// @match https://twitter.com/*
// @match https://x.com/*
// @connect translate.googleapis.com
// @connect *.googleapis.com
@roflsunriz
roflsunriz / VOICEVOX_SETUP.md
Last active May 8, 2025 13:26
training_app : 自分専用筋トレアプリ

ずんだもん音声でのトレーニングアプリのセットアップ

VoiceVoxのセットアップ

筋トレアプリで「ずんだもん」の声を使用するには、VoiceVoxという音声合成ソフトウェアを別途インストールして実行する必要があります。

1. VoiceVoxのダウンロードとインストール

  1. VoiceVoxの公式サイトからソフトウェアをダウンロードします: