Skip to content

Instantly share code, notes, and snippets.

@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(
@Qofar
Qofar / bookmarklet.js
Last active January 19, 2016 21:50
Tumblrでタグ一括入力するブックマークレット カンマ,区切りで入力
javascript:(function(){var%20tageditor=document.querySelector('.tag-input-wrapper%20.editor-plaintext');if(!tageditor)return;var%20ret=window.prompt('input%20tags%20(a,b,c)%20:');if(ret===null)return;var%20tags=ret.split(',');for(var%20i=0;i<tags.length;i++){var%20span=document.createElement('span');var%20value=document.createTextNode(tags[i]);span.appendChild(value);tageditor.appendChild(span);tageditor.focus();tageditor.blur();}})();