Skip to content

Instantly share code, notes, and snippets.

View fi-xz's full-sized avatar

nx fi-xz

View GitHub Profile
// Base code: https://gist.github.com/aamiaa/7cdd590e3949cd654758bc90bcb4710b
let wpRequire = webpackChunkdiscord_developers.push([[Symbol()], {}, r => r]);
webpackChunkdiscord_developers.pop();
let ApexStore = Object.values(wpRequire.c).find(x => x?.exports?.A?.createOverride).exports.A;
let UserStore = Object.values(wpRequire.c).find(x => x?.exports?.A?.__proto__?.getCurrentUser).exports.A;
let FluxDispatcher = Object.values(wpRequire.c).find(x => x?.exports?.A?.__proto__?.flushWaitQueue).exports.A;
let api = Object.values(wpRequire.c).find(x => x?.exports?.Bo?.get).exports.Bo;
let globalCopy = navigator.userAgent.includes("Firefox") ? navigator.clipboard.writeText.bind(navigator.clipboard) : copy
@fi-xz
fi-xz / README.md
Last active November 10, 2026 17:04
Automatic CDK request functions for NIKKE Blablalink Risemara

유저스크립트 설치 방법

Chrome, Edge, Whale 등 크롬 계열 브라우저 기준입니다.

1. 확장 프로그램 설치

  1. Tampermonkey를 설치합니다. (Edge는 Edge 추가 기능에서 설치)
  2. 주소창에 chrome://extensions를 입력합니다. (Edge는 edge://extensions, Whale은 whale://extensions)
  3. Tampermonkey의 세부정보를 열고 사용자 스크립트 허용을 켭니다.
  • 이 항목이 없으면 확장 프로그램 페이지 오른쪽 위의 개발자 모드를 켭니다.
@fi-xz
fi-xz / CHZZK_SESSION_RUNTIME_TEST.md
Last active August 8, 2026 12:07
CHZZK Official API - Session Test Results

CHZZK 세션 서버 실측

실제 서버에 붙어 확인한 내용이다. 공식 문서에 없는 것들이 있다.

  • 핸드셰이크는 pingInterval=25000, pingTimeout=60000. 생존 시한이 85초로 넉넉하다.

  • 네임스페이스는 루트(/)다. 세션 URL에 경로가 없다.

  • 인증은 핸드셰이크 쿼리의 auth 하나로 끝난다. 여기에 더해 루트 네임스페이스로 CONNECT를 보내면 인증 없는 새 연결로 취급해 다음과 같이 응답한다.