Skip to content

Instantly share code, notes, and snippets.

@FrostBird347
FrostBird347 / PurgeMemory.plugin.js
Last active December 20, 2022 05:04
A simple BetterDiscord plugin that adds a button to flush discord's cache.
View PurgeMemory.plugin.js
/**
* @name PurgeMemory
* @authorLink https://github.com/FrostBird347
* @source https://gist.github.com/FrostBird347/90dd48c54fdde69a00ab641b1ee823f2#gistcomment-4388425
* @updateUrl https://gist.githubusercontent.com/FrostBird347/90dd48c54fdde69a00ab641b1ee823f2/raw/PurgeMemory.plugin.js
*/
module.exports = class PurgeMemory {
getName () {return "PurgeMemory";}
@FrostBird347
FrostBird347 / ClearSteamAchivements.js
Last active July 4, 2022 12:15
Resets all achievement slots for the achievement showcase on a steam profile
View ClearSteamAchivements.js
//Credit: https://steamcommunity.com/discussions/forum/1/666826703364808594/#c622954302088767800
//Tested using steam with the "-dev" launch argument (https://developer.valvesoftware.com/wiki/Command_Line_Options#Steam)
//After running this script, you must save and reload the page to see any changes
for (var i = 0; i < document.getElementsByClassName("profile_customization_header").length; i++) {
var CurrentHeader = document.getElementsByClassName("profile_customization_header")[i];
if (CurrentHeader.textContent == "Achievement Showcase") {
var ShowcaseBlock = CurrentHeader.parentElement.children[1].children[0].children[0];
for (var ii = 0; ii < ShowcaseBlock.children.length; ii++) {
if (ShowcaseBlock.children[ii].classList.contains("showcase_slot") && !ShowcaseBlock.children[ii].classList.contains("openslot")) {
ShowcaseBlock.children[ii].children[2].value = 0;
@FrostBird347
FrostBird347 / VideoLoop.plugin.js
Last active December 2, 2022 07:53
A simple BetterDiscord plugin that adds a loop button next to the pause button in videos.
View VideoLoop.plugin.js
/**
* @name VideoLoop
* @authorLink https://github.com/FrostBird347
* @source https://gist.github.com/FrostBird347/6abad7503698db0c95a94ad3a2d0ca6c#gistcomment-3640733
* @updateUrl https://gist.githubusercontent.com/FrostBird347/6abad7503698db0c95a94ad3a2d0ca6c/raw/VideoLoop.plugin.js
*/
module.exports = class VideoLoop {
getName () {return "VideoLoop";}
@FrostBird347
FrostBird347 / HideTime.plugin.js
Last active January 22, 2023 07:18
A simple BetterDiscord plugin that hides the sent time of recent posts, allowing you to take screenshots without giving away your timezone.
View HideTime.plugin.js
/**
* @name HideTime
* @authorLink https://github.com/FrostBird347
* @source https://gist.github.com/FrostBird347/82473292f6d84542b607b87c2ea61df5#gistcomment-3376137
* @updateUrl https://gist.githubusercontent.com/FrostBird347/82473292f6d84542b607b87c2ea61df5/raw/HideTime.plugin.js
*/
module.exports = class HideTime {
getName () {return "HideTime";}
View Name every kerbal
Jebediah Kerman
Bill Kerman
Bob Kerman
Valentina Kerman
Wernher von Kerman
Gene Kerman
Dinkelstein Kerman
Dawton Kerman
Eumon Kerman
Bobak Kerman