This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const error = () => { console.warn('Something went to the sh*tter when setting video quality... FIX ME!'); }; | |
setTimeout(() => { | |
document.querySelector('.ytp-settings-button')?.click?.(); | |
const popup = document.querySelector('.ytp-popup.ytp-settings-menu'); | |
if (!popup) { | |
return error(); | |
} | |
setTimeout(() => { | |
const qualityButton = Array.from(popup.querySelectorAll('.ytp-menuitem')) | |
.filter(node => node.innerText?.includes?.('Auto (360p)')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: window.sleepFn = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); | |
window.processingLog = false; | |
window.processedLogs = 0; | |
clearInterval(window.roundingInterval); | |
window.visibleTogglEvents = Array.from(document.querySelectorAll(".rbc-event")); | |
window.visibleTogglEventsCount = window.visibleTogglEvents.length; | |
window.roundingInterval = setInterval(async () => { | |
if (window.processingLog) { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /d %~dp0 | |
set /p Input=Enter Folder name to delete: | |
:ConfPromt | |
set /p Confirm=Are you sure you want to delete "%CD%\%Input%"?(y/n): | |
IF /I "%Confirm%" == "n" ( | |
Echo Canceling. | |
pause | |
EXIT /b | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var HtmlES = document.documentElement.style; | |
setTimeout(function () { | |
HtmlES.transform = "scale(" + (prompt("Enter zoom level in %", "100") / 100) + ")"; | |
HtmlES.transformOrigin = "top"; | |
}, 10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:document.body.innerHTML += "<textarea style='" + | |
"position:fixed;" + | |
"top: 0;" + | |
"left:0;" + | |
"width:80%;" + | |
"margin:auto;" + | |
"border:2px solid;" + | |
"z-index:999999;" + | |
"resize:vertical;" + | |
"height:25%;' id='ToBase64' " + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function () { | |
if (typeof ZHJ10W1lcg === 'undefined') {/*Append jQuery into Documents Head*/ | |
var jQuery = document.createElement('script'); | |
jQuery.setAttribute('src', '//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js'); | |
var head = document.getElementsByTagName('head'); | |
head[0].appendChild(jQuery); | |
ZHJ10W1lcg = true; | |
} | |
setTimeout(function () { | |
$(document).ready(function () { |