Skip to content

Instantly share code, notes, and snippets.

@Vocaned
Last active September 14, 2025 23:12
Show Gist options
  • Select an option

  • Save Vocaned/1eeeba249dcaf05f917d82d7f7fa9438 to your computer and use it in GitHub Desktop.

Select an option

Save Vocaned/1eeeba249dcaf05f917d82d7f7fa9438 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Reddit raw media
// @version 1.0.1
// @description Replace reddit media embeds with the raw files
// @match https://*.reddit.com/media
// @author voc
// @namespace https://github.com/Vocaned
// @downloadURL https://gist.github.com/Vocaned/1eeeba249dcaf05f917d82d7f7fa9438/raw/reddit-raw-media.user.js
// @grant none
// @run-at document-start
// ==/UserScript==
(async ()=>window.location.href=URL.createObjectURL(await(await fetch(new URL(window.location.href).searchParams.get('url'))).blob()))()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment