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 MediaFire Batch Downloader v1 | |
// @namespace http://tampermonkey.net/ | |
// @include https://www.mediafire.com/folder/* | |
// @include https://www.mediafire.com/file/* | |
// @version 1.0 | |
// @description Batch download files from a MediaFire folder with delay | |
// @author Aditya Jain | |
// @license GNU GPL v3 | |
// @grant none |
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
/** | |
* Handles changes on the input element with id 'sp23Input' and | |
* the input element with class 'se55Input'. Updates specific DOM | |
* elements based on the data found in localStorage. | |
*/ | |
try { | |
document.getElementById('sp23Input').addEventListener('change', handleInputChange); // input value | |
document.querySelector('.se55Input').addEventListener('change', handleInputChange); // drop down value | |
/** |
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
/** | |
* Reddit Comment Deletion Script: | |
* This script automates the process of deleting the last 25 comments made by a user on their Reddit profile. | |
* | |
* Instructions: | |
* - Log in to Reddit and visit the comments page (https://www.reddit.com/user/[your_user_name]/comments/). | |
* - Run this script to delete the last 25 comments. | |
* - Refresh the page and run the script again for the next batch of comments. | |
*/ |
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
/** | |
* Filter products on the Myntra eCommerce website based on a specified price range. | |
* This code selects product elements and hides/shows them based on their prices. | |
* | |
* @param {number} minPrice - Minimum price threshold. | |
* @param {number} maxPrice - Maximum price threshold. | |
*/ | |
function filterProductsByPriceRange(minPrice, maxPrice) { | |
// Select all product items on the Myntra search results page. | |
const productItems = document.querySelectorAll("#desktopSearchResults > div.search-searchProductsContainer.row-base > section > ul > li"); |