Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2lay/discord-unfavorite-gifs
Discord script to unfavorite all gifs
https://github.com/2lay/discord-unfavorite-gifs
automation discord discordapp script
Last synced: about 1 month ago
JSON representation
Discord script to unfavorite all gifs
- Host: GitHub
- URL: https://github.com/2lay/discord-unfavorite-gifs
- Owner: 2lay
- License: gpl-3.0
- Created: 2024-09-25T23:45:34.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T08:58:30.000Z (3 months ago)
- Last Synced: 2024-11-30T13:31:59.639Z (about 1 month ago)
- Topics: automation, discord, discordapp, script
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord unfavorite all GIFs script
This script automates the process of unfavoriting all gifs.
## How to Use
### Requirements
- You need to be using a web browser, not the Discord app
### Steps to Execute the Script1. **Open the Browser Developer Tools**:
- **For Windows/Linux**: Press `Ctrl + Shift + I` to open the Developer Tools.
- **For macOS**: Press `Command + Option + I` to open the Developer Tools.2. **Navigate to the Console Tab**:
- Once the Developer Tools are open, click on the "Console" tab and type ``allow pasting``.3. **Open the Favorite GIF Section**:
- Ensure that you have the "Favorite GIFs" tab open.4. **Copy and Paste the Script**:
- Copy the following script:```javascript
(function clickRemoveFromFavorites() {
const buttonSelector = '.favButton_bad108';
const delay = 200; // Delay in milliseconds
const button = document.querySelector(buttonSelector);
if (button) {
button.click();
console.log('Clicked the Remove from Favourites button!');
} else {
console.log('Button not found.');
}
setTimeout(clickRemoveFromFavorites, delay);
})();
```5. **Run the Script**:
- Paste the script into the console and press `Enter`. The script will start unfavoriting all gifs.6. **When You're Done**:
- Reload the page or close the page to stop the script.### Important Notes
- Ensure that you have the favorited gifs window open.
- The script will continue to run until the button is no longer found on the page or you manually stop it by refreshing the page.
- Rate limiting may cause not all GIFs to be removed. A reload of the page and re-execution of the script may be required.
- Using scripts to automate actions on Discord may violate the Terms of Service.## License
- This project is licensed under the GNU GPLv3 License.