Skip to content

Instantly share code, notes, and snippets.

View Wojix's full-sized avatar
🤔
:3

考える人 Wojix

🤔
:3
View GitHub Profile
@Wojix
Wojix / chocoapi.txt
Created January 14, 2026 23:22
chocotube-api
import os
import json
import requests
from requests.adapters import HTTPAdapter
from urllib3.util.retry import Retry
import urllib.parse
import datetime
import random
import time
import tempfile

Google Chromeをハックして恐竜を不死にする方法

このゲームは簡単にハックでき、サボテンを見ても恐竜がまったくひるまなくなります。

ゲームをハックするには、まず恐竜が表示されている「エラーメッセージページ」に行きます。

次にスペースキーを押してゲームを開始します。ゲームが始まったら、右クリックして「検証(Inspect)」を選択してChrome DevToolsを開き、「Console」タブを選択します。

Ctrl+Shift+Iのショートカットを使えば、直接DevToolsのConsoleタブに飛ぶこともできます。

@Wojix
Wojix / siatube.gs
Created December 16, 2025 21:50
しあtube-ep
function doGet(e) {
const primaryBase = "https://siawaseok.duckdns.org";
const fallbackBase = "https://siatube.wjg.jp";
const routes = {
video: id => `/api/video2/${encodeURIComponent(id)}`,
stream: id => `/api/stream/${encodeURIComponent(id)}`,
stream2: id => `/api/stream/${encodeURIComponent(id)}/type2`,
channel: id => `/api/channel/${encodeURIComponent(id)}`,
q: q => `/api/search2?q=${encodeURIComponent(q)}`,
comments: id => `/api/comments/${encodeURIComponent(id)}`,