This file contains hidden or 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
#!/bin/bash | |
# Prompts the user for a URL if not provided as a command-line argument. | |
# Extracts the ID from the given URL to use in API requests. | |
function promptForURL() { | |
local url="$1" | |
until [ -n "$url" ]; do | |
read -p "URL: " url | |
done | |
id=$(sed 's|.*gofile.io/d/||g' <<< "$url") |
This file contains hidden or 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
//De sub tick cs2 | |
//exec de_subtick_01.cfg | |
alias +jump_ "+jump;+jump" | |
alias -jump_ "-jump;-jump;-jump" | |
alias +forward_ "+forward;+forward" | |
alias -forward_ "-forward;-forward;-forward" | |
alias +left_ "+left;+left" | |
alias -left_ "-left;-left;-left" | |
alias +back_ "+back;+back" |
This file contains hidden or 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 Convert pixeldrain Folder link to Single Link | |
// @namespace http://tampermonkey.net/ | |
// @match https://pixeldrain.com/l/* | |
// @grant none | |
// @version 1.0 | |
// @author TmatzXzonEv | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
This file contains hidden or 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
// Extract file IDs and construct single URLs | |
const fileData = window.viewer_data.api_response.files; | |
const singleUrls = fileData.map(file => `https://pixeldrain.com/u/${file.id}`); | |
// Construct log message | |
const logMessage = ["Single URLs:"]; | |
singleUrls.forEach(url => logMessage.push(url)); | |
// Create a Blob containing the log message | |
const blob = new Blob([logMessage.join("\n")], { type: "text/plain" }); |