Skip to content

Instantly share code, notes, and snippets.

@Qofar
Qofar / Youtube_chat_remove_25.user.js
Created May 27, 2026 17:29
Youtubeライブ配信のチャット欄のメモリ消費を抑えるUserScript
// ==UserScript==
// @name Youtube: chat remove 25
// @match https://www.youtube.com/live_chat*
// @icon https://www.youtube.com/favicon.ico
// @allFrames true
// @version 1.0
// ==/UserScript==
(function() {
window.setInterval(() => {
@Qofar
Qofar / MiniBar_12core.ini
Last active March 7, 2022 17:49
Rainmeter - MiniBar_12core
[Rainmeter]
Update=1000
LeftMouseUpAction=[!zPos "2"]
RightMouseUpAction=[!zPos "0"]
[Metadata]
Name=MiniBar
Author=Mill
Information=
Version=0.01
@Qofar
Qofar / manifest.json
Created October 2, 2021 12:57
Remove x-client-data header
{
"name": "Remove x-client-data header",
"version": "1.0",
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "rules1.json"
}
const actualCode = `
delete window.navigator.__proto__.brave;
Object.defineProperty(window.navigator, 'plugins', {
get: () => {
const plugins = {
length: 0,
__proto__: PluginArray.prototype,
};
return plugins;
}
// ==UserScript==
// @name Twitch - Mute ads
// @include https://www.twitch.tv/*
// @version 1.0
// @license MIT
// @grant none
// ==/UserScript==
(() => {
window.setInterval(() => {
let ads = document.querySelector('div[data-test-selector="sad-overlay"]');
@echo off
powershell Get-Clipboard | "E:\youtube-dl\youtube-dl.exe" -a- -q -o - | "E:\MPC-HC\mpc-hc64.exe" -
using Advanced_Combat_Tracker;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;
[assembly: AssemblyTitle("FFXIV_ACT_Plugin_V2_sample")]
[assembly: AssemblyVersion("2.0.0.0")]
namespace FFXIV_ACT_Plugin_V2_sample
{
## https://mpv.io/manual/stable/
## window
title="mpv"
no-sub
no-border
no-taskbar-progress
force-window
snap-window
keep-open
@Qofar
Qofar / EndEncounterByCountdown.cs
Created July 14, 2017 13:59
戦闘開始カウントでEndEncounterするPlugin
using Advanced_Combat_Tracker;
using System.Windows.Forms;
// 戦闘開始カウントでEndEncounterするPlugin
namespace ACTv3Plugins
{
public class EndEncounterByCountdown : IActPluginV1
{
// "00:0139:戦闘開始まで5秒! (xxx xxx)"
// "00:0039:戦闘開始まで5秒!"
// ==UserScript==
// @name AbemaTV Tweak
// @include https://abema.tv/*
// @grant GM_addStyle
// @license MIT License
// @version 1.3.0
// ==/UserScript==
(function(){
GM_addStyle(