Skip to content

Instantly share code, notes, and snippets.

@Far-Se
Far-Se / yt-remove-liked-videos-v2.js
Last active October 16, 2022 03:19
Youtube delete all liked videos. Hover your mouse on the 3 dots then hit F4. If video is deleted, go with the mouse to the next one. Install AutoHotKey first.
//Open DevTools and paste this in Console.
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function deleteLikedVideos() {
'use strict';
var items = document.querySelectorAll('ytd-menu-renderer > yt-icon-button.dropdown-trigger > button[aria-label]');
var out;
@jakoch
jakoch / unzip.iss
Created August 28, 2015 10:34
Unzip Helper for executing 7zip without blocking the InnoSetup GUI
{
Unzip Helper for executing 7zip without blocking the InnoSetup GUI
----
The main procedure is the non-blocking Unzip().
Your GUI will remain responsive during the unzip operation.
Written by Rik and Jens A. Koch (@jakoch) on StackOverflow:
http://stackoverflow.com/questions/32256432/how-to-execute-7zip-without-blocking-the-innosetup-ui
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//