Skip to content

Instantly share code, notes, and snippets.

@ChanglaiSun
ChanglaiSun / resizer.js
Created October 6, 2023 12:55
Wikieditor Font Resizer
// ==UserScript==
// @name Wikieditor Font Resizer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description change font size in mediawiki editor window
// @author SunCL
// @match https://thwiki.cc/*
// @icon https://static.thwiki.cc/favicon.ico
// @grant none
// ==/UserScript==
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
@ChanglaiSun
ChanglaiSun / 万宝槌.js
Created April 2, 2022 08:55
Small Font For THBWiki
// ==UserScript==
// @name Smallllllll Font For THBWiki Editor
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 太暴力了……
// @author SunCL
// @match https://thwiki.cc/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=thwiki.cc
// @grant none
// ==/UserScript==
@ChanglaiSun
ChanglaiSun / ingress-passcode.js
Created April 6, 2017 07:55 — forked from idealhack/ingress-passcode.js
ingress passcode auto run
// go to https://www.ingress.com/intel
// open passcode popup
// open console
// add jquery
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// add pascode
// passcode by this list - http://pastebin.com/XQLGzRqi