Download photos and videos from Telegram Web, one by one or in batches — even in restricted "no-forwards" chats. Also re-enables copying text from protected messages.
Other Telegram download scripts read the rendered <video>/<img> and re-fetch the bytes. That means guessed filenames, reliance on class names and icon codes that change with almost every Telegram update, and hundreds of lines of fragile UI code. This script instead calls Telegram Web's own internal download routine:
Telegram Web ships two clients: WebK (/k/) and WebA (/a/). This script uses WebK because WebK exposes its download engine to the page on the public site, so saving uses the app's own routine with correct filenames. WebA keeps that engine behind a debug flag that is off in production, leaving only the fragile "fetch the pixels" workaround. So the script automatically sends you to the WebK (/k/) client to guarantee reliable saving — your account, chats and data are identical on both; only the interface differs.
Works in Violentmonkey, Tampermonkey and ScriptCat. No external libraries, no tracking.