Skip to content

Instantly share code, notes, and snippets.

View greatghoul's full-sized avatar
🏠
Working from home

greatghoul greatghoul

🏠
Working from home
View GitHub Profile
@greatghoul
greatghoul / devtool-script.js
Created January 11, 2024 14:07
Batch Unsubscribe Youtube Channels
(function () {
function clickElement(element) {
return new Promise((resolve, reject) => {
const event = new MouseEvent("click", { bubbles: true, cancelable: true });
element.dispatchEvent(event);
setTimeout(() => resolve(element), 500);
});
}
async function start() {
@greatghoul
greatghoul / main.user.js
Created August 23, 2022 01:25
下载九酷音乐 mp3
// ==UserScript==
// @name 九酷音乐网mp3下载
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.9ku.com/play/*
// @grant GM_addStyle
// ==/UserScript==
@greatghoul
greatghoul / main.user.js
Last active July 20, 2022 14:31
HabitRPG - Hide System Messages in Party
// ==UserScript==
// @name HabitRPG - Hide System Messages in Party
// @namespace https://anl.gg/
// @version 0.1.1
// @description Don't show system messages in party by default.
// @author greatghoul
// @match https://habitica.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=habitica.com
// @grant none
// ==/UserScript==
@greatghoul
greatghoul / swagger.yaml
Last active August 27, 2020 02:11
Airhost Stable Docs
foo: bar
name: Test
@greatghoul
greatghoul / zendesk.user.js
Last active December 4, 2019 15:25
ZenDesk Private Comment By Default
// ==UserScript==
// @name ZenDesk Private Comment By Default
// @namespace greatghoul
// @version 0.1
// @description ZenDesk Private Comment By Default
// @author greatghoul
// @match https://*.zendesk.com/*
// @grant none
// ==/UserScript==
@greatghoul
greatghoul / script.user.js
Created May 29, 2019 09:11
Tower 高亮自己的今天的任务
// ==UserScript==
// @name Tower 高亮我的任务
// @namespace greatghoul
// @version 0.1
// @description
// @author greatghoul
// @match https://tower.im/*
// @grant none
// ==/UserScript==
--- /dev/fd/63 2019-05-15 16:05:13.000000000 +0800
+++ /dev/fd/62 2019-05-15 16:05:13.000000000 +0800
@@ -9,6 +9,20 @@
<string>is.workflow.actions.comment</string>
<key>WFWorkflowActionParameters</key>
<dict>
+ <key>SCAuthorInfo</key>
+ <string>1</string>
+ <key>WFCommentActionText</key>
+ <string>作者:理查德•帕克
@greatghoul
greatghoul / aliyun-dns-remark.user.js
Last active March 10, 2019 08:33
UserScript - 阿里云解析备注显示
// ==UserScript==
// @name 阿里云云解析备注
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://dns.console.aliyun.com/
// @require https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant none
@greatghoul
greatghoul / README.md
Last active April 30, 2023 12:33
一言 API:随机返回一句话 | 捷径社区

一言:随机返回一句话

GET https://v1.hitokoto.cn/

参数