Skip to content

Instantly share code, notes, and snippets.

@victornpb
victornpb / deleteDiscordMessages.js
Last active January 19, 2026 04:48
Delete all your messages from DM or Channel in Discord
/*
This file is now hosted here:
https://github.com/victornpb/undiscord
*/
@gmolveau
gmolveau / firefox_dark_background.md
Last active January 12, 2026 11:48
Firefox dark background / theme for new tab and loading screen

Firefox Dark Background

  • How to change the background on Firefox to a dark one on new tab / loading screen ?

Procedure

  • Type about:config in the URL bar
  • Search toolkit.legacyUserProfileCustomizations.stylesheets and double-click the field to set it to true
  • Type about:support in the URL bar
  • Look for Profile folder field and click on the open button next to it.
@kukiron
kukiron / github-dark-script.user.js
Created August 14, 2017 22:48
Dark theme script for GitHub using TamperMonkey
// ==UserScript==
// @name GitHub Dark Script
// @version 2.2.5
// @description GitHub Dark in userscript form, with a settings panel
// @license MIT
// @author StylishThemes
// @namespace https://github.com/StylishThemes
// @include /^https?://((gist|guides|help|raw|status|developer)\.)?github\.com((?!generated_pages\/preview).)*$/
// @include /^https://*.githubusercontent.com/*$/
// @run-at document-start
@Nyr
Nyr / imgur-direct-images.user.js
Last active May 9, 2024 20:48
Redirect imgur to the raw images skipping the crappy HTML pages
// ==UserScript==
// @name imgur direct images
// @description Redirect to the raw images skipping the crappy HTML pages.
// @include /^https?:\/\/imgur\.com\/[A-Za-z0-9]+$/
// @exclude *imgur.com/vidgif
// @exclude *imgur.com/jobs
// @exclude *imgur.com/about
// @exclude *imgur.com/apps
// @exclude *imgur.com/tos
// @exclude *imgur.com/privacy