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
var inviter = {} || inviter; | |
inviter.userList = []; | |
inviter.className = 'button-secondary-small'; | |
inviter.refresh = function () { | |
window.scrollTo(0, document.body.scrollHeight); | |
window.scrollTo(document.body.scrollHeight, 0); | |
window.scrollTo(0, document.body.scrollHeight); | |
}; |
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
// ==UserScript== | |
// @name UTP Request Checker | |
// @namespace Violentmonkey Scripts | |
// @version 1.2.1 | |
// @description Compare amounts and modify the vote button on UTP requests. | |
// @match https://utp.to/requests/* | |
// @grant none | |
// @updateURL https://gist.github.com/maksii/b8c4bf8bdf0de841532a3b4320cf9a1a.js | |
// @downloadURL https://gist.github.com/maksii/b8c4bf8bdf0de841532a3b4320cf9a1a.js | |
// ==/UserScript== |
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
# Check FFmpeg availability | |
$ffmpegPath = "ffmpeg" # Default to ffmpeg in PATH | |
# Check FFprobe availability | |
$ffprobePath = "ffprobe" # Default to ffprobe in PATH | |
# Function to check if ffmpeg exists in PATH | |
function Check-FFmpeg { | |
try { | |
$output = & $ffmpegPath -version 2>&1 |