Skip to content

Instantly share code, notes, and snippets.

View Lastorder-DC's full-sized avatar
Misakawa Misakawa

Lastorder Lastorder-DC

Misakawa Misakawa
View GitHub Profile
@Lastorder-DC
Lastorder-DC / q.user.js
Created September 11, 2025 14:49 — forked from eta66/q.user.js
// ==UserScript==
// @name chzzk-time-machine
// @author eta66 (eta66@proton.me)
// @match https://chzzk.naver.com/*
// @grant unsafeWindow
// @run-at document-start
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/url
// ==/UserScript==
(()=>{let e;async function t(){if(!location.pathname.includes("/live/"))return;new MutationObserver(((_,t)=>{const n=document.querySelector(".slider");n&&(n.remove(),t.disconnect())})).observe(document.body,{childList:!0,subtree:!0});const t=await fetch(`https://api.chzzk.naver.com/service/v1/channels/${location.pathname.split("/").pop()}/clip-time-machine-info`,{credentials:"include"});e=JSON.stringify((await t.json()).content.timeMachinePlayback)}unsafeWindow.XMLHttpRequest=class extends XMLHttpRequest{constructor(){super(),this.addEventListener("load",(()=>{if(this.responseURL.includes("live-detail")&&e){const t=JSON.parse(this.responseText);t.content.livePlaybackJson=e,t.content.p2pQuality=[],Object.defineProperty(this,"respo
@Lastorder-DC
Lastorder-DC / hide-sidebar-namu-dist.user.js
Last active May 21, 2024 08:04
NamuWiki sidebar toggle userscript
// ==UserScript==
// @name NamuWiki Sidebar Toggle
// @namespace http://tampermonkey.net/
// @version 0.3.4
// @description Toggle sidebar on Namu wiki pages
// @author Lastorder-DC
// @match *://*.namu.wiki/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Download tewind m3u8
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://tewind.kr/rewind/*
// @match https://tewind.kr/liveback/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=tewind.kr
// @grant none
# -*- coding: utf-8 -*-
#
# OpenRCT2 Twitch API Server
# (c) 2018 Fun-boong-e <https://tgd.kr/funzinnu>
#
# Complies BSD license.
#
# How to run:
#
# $ pip install flask gevent requests websocket-client
@Lastorder-DC
Lastorder-DC / README.md
Created January 31, 2018 05:43 — forked from joyrexus/README.md
Twitter user stream listener

Simple client for listening to a Twitter user stream via version 1.1 of the streaming API.

Before running demo.coffee, place your app's OAuth keys in keys.json


This is basically a coffescript translation of @aivis' user-stream.