Instantly share code, notes, and snippets.

View stuff_to_del.bat
@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
)
View DocumentScaling.js
javascript:var HtmlES = document.documentElement.style;
setTimeout(function () {
HtmlES.transform = "scale(" + (prompt("Enter zoom level in %", "100") / 100) + ")";
HtmlES.transformOrigin = "top";
}, 10);
View PasteImgToBase64.js
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' " +
View getIMG.js
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 () {