Skip to content

Instantly share code, notes, and snippets.

@xgorn
xgorn / asurascans-cbz-downloader.user.js
Created June 11, 2026 02:24
Download chapter as cbz to read it offline
// ==UserScript==
// @name Asurascans CBZ Downloader
// @namespace http://xgorn.com/
// @version 0.0.1
// @description Download chapter as cbz to read it offline
// @author Noid
// @include /^https:\/\/asurascans\.com\/comics\/[^\/]+\/?$/
// @icon https://www.google.com/s2/favicons?sz=64&domain=asurascans.com
// @grant GM_xmlhttpRequest
// @require https://cdn.jsdelivr.net/npm/jszip@3.2.0/dist/jszip.min.js
@xgorn
xgorn / asurascans-pdf-downloader.user.js
Created June 9, 2026 06:38
Download asurascans chapter as pdf to read it offline
// ==UserScript==
// @name Asurascans PDF Downloader
// @namespace http://xgorn.com/
// @version 0.0.1
// @description Download asurascans chapter as pdf to read it offline
// @author Noid
// @include /^https:\/\/asurascans\.com\/comics\/[^\/]+\/?$/
// @icon https://www.google.com/s2/favicons?sz=64&domain=asurascans.com
// @grant GM_xmlhttpRequest
// @require https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js
@xgorn
xgorn / novelfire-epub-gen.user.js
Created June 2, 2026 09:27
Generate epub from novelfire (supports auto translate).
// ==UserScript==
// @name Novelfire EPUB generator
// @namespace http://xgorn.com/
// @version 2026-06-02
// @description Generate epub from novelfire (supports auto translate).
// @author Noid
// @match https://novelfire.net/book/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=novelfire.net
// @grant GM_xmlhttpRequest
// @require https://cdn.jsdelivr.net/npm/jszip@3.2.0/dist/jszip.min.js
@xgorn
xgorn / spx-tracker.js
Last active April 18, 2026 08:52
Shopee Express Resi Tracker
// full credit: https://github.com/AyGemuy/api-wudysoft/blob/801b4b5bfda05c9f89481a393f425fccb4f0f827/pages/api/tools/cek-resi/spx.js
const axios = require("axios");
const resi = "SPXID1234567890";
async function fetchResi(resi) {
const url = `https://spx.co.id/shipment/order/open/order/get_order_info?spx_tn=${resi}&language_code=id`;
const hdr = {
accept: "application/json, text/plain, */*",
-- Garden Horizons Hub
-- Script by Noah Nabas
-- Updated by Noid
local Players = game:GetService("Players")
local RS = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
-- Remotes
local BuyRemote = RS:WaitForChild("RemoteEvents"):WaitForChild("PurchaseShopItem")
@xgorn
xgorn / firenovel.user.js
Created July 8, 2025 08:32
FireNovel reading tools
// ==UserScript==
// @name FireNovel's Reading Tools
// @namespace https://xgorn-is-a.dev/
// @version 1.1
// @description Easily translate chapters on NovelFire
// @author Noid
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
// @match https://novelfire.net/book/*/chapter-*
// @icon https://www.google.com/s2/favicons?sz=64&domain=novelfire.net
// @grant none
@xgorn
xgorn / tiktok_post_scraper.py
Created June 7, 2025 09:11
Tiktok Posts Scraper
from curl_cffi import requests
from bs4 import BeautifulSoup
data = []
picuki = requests.get('https://www.picuki.com/profile/linustech', impersonate="chrome")
soup = BeautifulSoup(picuki.text, 'html.parser')
for post in soup.select('.posts-container a'):
@xgorn
xgorn / telegram-web-app.js
Created July 24, 2024 00:38
Updated telegram-web-app.js
// WebView
(function () {
var eventHandlers = {};
var locationHash = '';
try {
locationHash = location.hash.toString();
} catch (e) {}
var initParams = urlParseHashParams(locationHash);
@xgorn
xgorn / get_channels.py
Created July 13, 2024 08:57
Get All Channel of a User.
from pyrogram import Client, enums
bot = Client()
async def get_channels():
async for dialog in bot.get_dialogs():
if dialog.chat.type == enums.ChatType.CHANNEL:
yield dialog
async for dialog in get_channels():
@xgorn
xgorn / acefile-bypasser.user.js
Last active February 7, 2026 10:26
AceFile auto redirect to drive link. drive link will automatically copied to the clipboard.
// ==UserScript==
// @name Acefile Bypasser
// @namespace https://xgorn.is-a.dev/
// @downloadURL https://gist.github.com/xgorn/eb4de448e08509d414f34b55b5551720/raw/acefile-bypasser.user.js
// @updateURL https://gist.github.com/xgorn/eb4de448e08509d414f34b55b5551720/raw/acefile-bypasser.user.js
// @version 1.0.2
// @description AceFile auto redirect to drive link. drive link will automatically copied to the clipboard.
// @author Noid Darkstar
// @include /^https?:\/\/acefile.co\/(?:f|player)\/\w+(?:\/[-_\w]+)?/
// @icon https://www.google.com/s2/favicons?sz=64&domain=acefile.co