Skip to content

Instantly share code, notes, and snippets.

View MartianInGreen's full-sized avatar

Hannah MartianInGreen

View GitHub Profile
@CurtisAccelerate
CurtisAccelerate / ChatGPT_Codeblock_Processor
Last active September 19, 2024 13:26
ChatGPT_Codeblock_Processor
The following is a TamperMonkey script that adds a run eleement to code blocks for HTML content.
- Now works without manual reloading!
- Now works with Javascript. Must disable CSP policy. Disable at own risk.
- Removed the run demo from the frame area
https://chromewebstore.google.com/detail/csp-unblock/lkbelpgpclajeekijigjffllhigbhobd?hl=en
// ==UserScript==
// @name ChatGPT Code Block Processor 200
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active April 28, 2025 07:58
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();