Skip to content

Instantly share code, notes, and snippets.

View Yukaii's full-sized avatar
👾
nyan, nyan, nyan

Yukai Huang Yukaii

👾
nyan, nyan, nyan
View GitHub Profile
@Yukaii
Yukaii / README.md
Last active October 12, 2024 12:12
Hide reddit promoted post

Hide Reddit Promoted Posts

A Tampermonkey user script that automatically hides promoted (advertisement) posts on Reddit. By targeting specific CSS classes used for promoted content, this script removes those posts from view, providing a cleaner browsing experience.

Features

  • Automatically hides promoted posts on Reddit.
  • Detects dynamically loaded posts using MutationObserver.
  • Works seamlessly on page load and as you scroll.
@Yukaii
Yukaii / README.md
Last active September 20, 2024 16:41
Enhance Swap.work with a time tracking panel to record hours, manage entries, and export costs, using MUI styles and GraphQL API calls.

Swap.work enhanced panel

This userscript enhances the Swap.work platform by adding a time tracking panel that allows freelancers to easily record hours, manage time entries, and export costs directly to the project. Built using MUI styles to seamlessly integrate with the existing UI, this script leverages GraphQL API calls for efficient data handling. Time entries are saved within the project's comment field and can be exported as individual cost entries, making it easier to track and bill for time spent on tasks.

Demo

swap-costs-exporter.mp4

Installation

@Yukaii
Yukaii / README.md
Last active August 24, 2024 07:55
Taaze ISBN input helper.

Taaze Helper Script

The script automatically focuses on the ISBN input field after submission. Very useful when working with barcode scanner app.

Installation

  • Tampermoneky
  • Click this link
@Yukaii
Yukaii / README.md
Last active August 23, 2024 05:56
Automated script for launching and retrying Oracle Cloud's Always-Free Tier instance with logging functionality

Script to Launch Always-Free Tier Machine on Oracle Cloud

The instance resource is often at full capacity. Therefore, we should create a script to automatically retry launching the instance at regular intervals.

The script also includes basic logging and will stop launching once you have successfully launched the instance.

Prerequisites

  • jq
  • oci (with correct setup)
@Yukaii
Yukaii / phanpy.user.js
Created May 7, 2024 08:35
additional keymapping for phanpy
// ==UserScript==
// @name Phanpy additional Keyboard Navigation
// @match https://phanpy.social/*
// @version 2024-05-07
// @description additional keymapping for phanpy.social
// @author Yukai Huang
// @icon https://www.google.com/s2/favicons?sz=64&domain=phanpy.social
// @grant none
// ==/UserScript==
@Yukaii
Yukaii / README.md
Last active May 6, 2024 16:15
g0v logbot simple navigation userscript

g0v logbot simple navigation userscript

Add the bottom right buttons for more sensible navigation.

スクリーンショット 2024-05-07 夜中12 14 08

Installation

Install Greasemonkey

@Yukaii
Yukaii / README.md
Last active February 16, 2023 13:25
YouTube Subscriptions to OPML RSS Feeds
@Yukaii
Yukaii / README.md
Last active August 22, 2022 13:45
Export shopee orders to JSON file
@Yukaii
Yukaii / READMD.md
Last active October 19, 2024 08:15
A Tampermonkey script to make YouTube dislike count back

(Deprecated) Make YouTube dislike count BACK!

Deprecated Attention

This script is no longer working. Please use https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi instead, which is open sourced at https://github.com/Anarios/return-youtube-dislike.

Developers: If you’re using the YouTube API for dislikes, you will no longer have access to public dislike data beginning on December 13th ref: https://support.google.com/youtube/thread/134791097/update-to-youtube-dislike-counts?hl=en

@Yukaii
Yukaii / workona-clicker.user.js
Last active September 23, 2021 03:27
點 raw 安裝。我在付錢的路上...
// ==UserScript==
// @name Workona auto click
// @namespace http://tampermonkey.net/
// @version 0.1.0
// @description Auto click open button for legacy workspaces
// @author Yukaii
// @match https://workona.com/*
// @icon https://www.google.com/s2/favicons?domain=workona.com
// @downloadURL https://gist.github.com/Yukaii/7babf087b4308c2c94a0c73d5c585669/raw/workona-clicker.user.js
// @grant none