Skip to content

Instantly share code, notes, and snippets.

View the-wright-jamie's full-sized avatar
💣
Breaking Code and Taking Names

Jamie Wright the-wright-jamie

💣
Breaking Code and Taking Names
View GitHub Profile

Jamie's CyberSec Library

⚠️ Warning

It is generally prohibited by law for you to attack or otherwise interfere with a remote or local system in which you do not have proper permission to attack. In the UK, doing so may result in you breaking the Computer Misuse Act which (depending on which Section you break) may land you with up to 10 years in prison. If you are working with people or companies in different countries, please also be aware of the local laws surrounding computer ‘misuse’.

If you are doing bug bounty programs, please be aware of the Terms and Conditions (T&Cs) for each program as well as any ‘Fair Use’ policies that may be in place. You should also consider reading the general T&Cs for the product you are testing as well as the End User Licence Agreement (EULA). For example, a lot of proprietary software prohibits the use of reverse engineering either in the T&Cs or EUL

@the-wright-jamie
the-wright-jamie / Remove Videos from YT History.md
Last active February 24, 2023 15:24
Clear search results in history. Useful if you want to clear a certain topic from your recommendations, but not nuke your recommendations entirely

Working as of last edit to this page

Adapted from https://gist.github.com/astamicu/eb351ce10451f1a51b71a1287d36880f
Jump to the code if you don't care about the preamble


Quickly remove videos from your watch history - search for videos, topics, creators you want to remove from your history to make them less likely to show up in your recommendations so you don't have to nuke or reset your recommendations. (YouTube's recommendation algorthmn works, mostly, on the videos in your History, Liked and Watch Later lists). It makes them less likely to show up, but I've found that sometimes not entirely especially if you watch related creators

Unlike the original, it doesn't intervals - you can nuke the entire visable list at once as the button is not hidden behind a meatball menu