Skip to content

Instantly share code, notes, and snippets.

.fpqiyer > *:first-child,
div:has(> .atvwebplayersdk-bottompanel-container) + div,
div:has(> .atvwebplayersdk-bottompanel-container) + div + div,
.atvwebplayersdk-regulatory-overlay,
.atvwebplayersdk-nextupcard-wrapper{
display: none !important;
}
// ==UserScript==
// @name Amazon - Copy Subtitle Text
// @description Amazon - Copy Subtitle Text.
// @version 0.2
// @author to
// @namespace https://github.com/to
// @license MIT
//
// @noframes
// @match https://www.amazon.co.jp/gp/video/*
const sharp = require('sharp');
const colorConvert = require('color-convert');
async function colorTransfer() {
// 画像を読み込む
const sourceImage = await sharp('./source.jpg').raw().toBuffer({ resolveWithObject: true });
const targetImage = await sharp('./target.jpg').raw().toBuffer({ resolveWithObject: true });
const { data: sourceData, info: sourceInfo } = sourceImage;
const { data: targetData, info: targetInfo } = targetImage;
@to
to / wishlist.md
Last active October 3, 2025 14:47

ほしいものリスト

  • Nintendo Switch 1
  • どこでも座れるイス
  • 納豆混ぜ棒
  • ヘッドライト
  • ゲームを一緒に遊んでくれる人(The Past Within/It Takes Twoとか)
// ==UserScript==
// @name Unity - Open Japanese Page
// @version 0.1
// @author to
// @namespace https://github.com/to
// @license MIT
//
// @match file:///C:/Program%20Files/Unity/Hub/Editor/*
// @match https://docs.unity3d.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=unity3d.com
@to
to / gist:ead92502183764774a417b78a39a05e8
Created April 14, 2022 11:44
「ツリーにぶらさがった漫画をイッキに読むやつ」を開く ブックマークレット
javascript:window.open('https://peraimaru.site/show?tweet_url='+encodeURIComponent(location.href));void(0);
@to
to / auto_fade_audio.lua
Last active June 8, 2025 06:41
OBS: シーンが切り替わるタイミングでメディアをフェードアウト/フェードインする
local obs = obslua
local duration = 1200
local interval = 50
local steps = duration / interval
local current_scene_name
local debug = false
'use strict';
var context = {a : 1, b : 2};
withContext(context, () => {
console.log(a); // 1
});
function withContext(context, func){
eval(