Skip to content

Instantly share code, notes, and snippets.

View s3rb31's full-sized avatar

͏ s3rb31

  • Germany
View GitHub Profile
@s3rb31
s3rb31 / addToPlaylistCommand.js
Created February 20, 2024 07:39
trigger_youtube.com_addToPlaylistCommand
$("ytd-app").actionRouter_.triggerOptionalAction("yt-add-to-playlist-command",
{
"clickTrackingParams": "CIwDEMfsBBgDIhMI5an4zq20hAMVJ8JCBR2nQQSL",
"addToPlaylistCommand": {
"openMiniplayer": false,
"openListPanel": true,
"videoId": "r-GN1ibonvE",
"listType": "PLAYLIST_EDIT_LIST_TYPE_QUEUE",
"onCreateListCommand": {
"clickTrackingParams": "CIwDEMfsBBgDIhMI5an4zq20hAMVJ8JCBR2nQQSL",
#include <windows.h>
#include <cstdio>
// credits: s3rb31
#define STATUS_SUCCESS 0x00000000
template<typename T>
T GetNTDLLProc(LPCSTR ProcName)
{
set smoothscroll
"set numerichints
set typelinkhints
set cncpcompletion
let configpath = '/home/s3rb31/.cvimrc'
let hintcharacters = "asdfgqwertxcvb"
let blacklists = ["https://docs.google.com/*"]
let completionengines = ["google"]