Skip to content

Instantly share code, notes, and snippets.

@lucahammer
lucahammer / delete-tweets.js
Last active April 10, 2025 11:22
Delete all your Tweets Javascript
/*
This may get your account banned. It runs in your regular browser with your regular login without needing the API.
The script does the same things that you would do yourself:
Click the three dots, select delete Tweet, confirm, scroll to next Tweet, repeat.
==========================
Usage
1. Open your Twitter profile in a browser
2. Open the console in the developer tools (F12)
3. Paste the script and press enter
4. ???
@LekoArts
LekoArts / search-engines-blocklist.txt
Created January 11, 2022 15:51
Blocklist of annoying StackOverflow copycats in uBlock Origin
! Title: Search engine domains
! Description: Remove certain domains from Google/DuckDuckGo
! See also: https://github.com/darekkay/config-files/blob/master/adblocker/search-engines.txt
! See also: https://gist.github.com/quenhus/6bd2c47e5780f726f0c96c0a2ee762a4
! Google
! Low quality
google.*##.g:has(a[href*="geeksforgeeks.org"])
google.*##.g:has(a[href*="gutefrage.net"])
@realAzazello
realAzazello / Personal_GHHbD_block-list.txt
Last active April 25, 2025 00:45
Personal block list used for GHHbD ('Google Hit Hider by Domain'), a userscript <http://www.jeffersonscher.com/gm/google-hit-hider/> created by Jefferson Scher
[Personal "Google Hit Hider by Domain" list]
['Bad' TLDs]
[https://greasyfork.org/en/forum/discussion/comment/55821/#Comment_55821]
[The Top 10 Worst TLDs - https://www.spamhaus.org/statistics/tlds/]
[Reputation Statistics: gTLDs associated with bad domains - https://www.spamhaus.org/reputation-statistics/gtlds/domains/]
[2021: https://unit42.paloaltonetworks.com/top-level-domains-cybercrime/]
[https://community.cisco.com/t5/firepower/blocking-spamhaus-top-10-most-abused-top-level-domains/td-p/3096704]
@KohGeek
KohGeek / sortPlaylist.user.js
Last active December 16, 2024 17:26 — forked from sunnywiz/sortWL.js
SortYoutubePlaylistByDuration
/** THE SCRIPT HAS BEEN MIGRATED TO A PROPER REPOSITORY **/
/** https://github.com/KohGeek/SortYoutubePlaylistByDuration/ **/
/** The script is left here just for legacy purpose, please direct all downloads and questions to the new repository **/
/** Changelog 24/12/2023
@myfonj
myfonj / _userChrome.css
Last active July 24, 2023 23:38
My userChrome for Firefox Developer edition
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
@namespace svg url("http://www.w3.org/2000/svg");
/*
userChrome.css
version: 2023-07-25
https://gist.github.com/myfonj/f5415dd0580663a82ea18407ef2ee5de/edit
§ HOWTO (Firefox ~88):
@nsfyn55
nsfyn55 / media-bias-scrubbed-results.csv
Last active March 3, 2025 10:43
A fully scrubbed CSV of all of media bias fact check's primary categories(note on bias negative(-) connotes liberal bias, positive(+) connotes conservative bias)
site_name url bias_rating factual_reporting_rating
(The) Interpreter Magazine http://www.interpretermag.com/ -8 HIGH
1600 Daily https://www.whitehouse.gov/1600daily 26 MIXED
2ndVote https://2ndvote.com/ 29 MIXED
680 News http://www.680news.com/ -3 HIGH
71 Republic https://71republic.com/ 15 HIGH
9 News (Australia) http://www.9news.com.au/ 6 HIGH
ABC News Australia http://www.abc.net.au/news/ -4 HIGH
ABC News http://abcnews.go.com/ -13 HIGH
ABC11 Eyewitness News http://abc11.com/ -11 HIGH
@jaydorsey
jaydorsey / ublock
Last active April 3, 2025 12:18
uBlock for LinkedIn
# Block things on LinkedIn with uBlock Origin that LinkedIn won't let you block
# Choose "Options" in uBlock Origin with a right-click, and add these to
# "My filters"
# ADDING YOUR OWN FILTERS
#
# Using Linkedin.com as an example
#
# 1. Open up the webpage
# 2. Find some text you want to block
@bijij
bijij / viewimage.user.js
Last active April 11, 2025 01:57
Userscript version of the View Image chrome extension
// ==UserScript==
// @name View Image
// @namespace https://github.com/bijij/ViewImage
// @version 4.1.1
// @description This userscript re-implements the "View Image" and "Search by image" buttons into google images.
// @author Joshua B
// @run-at document-end
// @include http*://*.google.tld/search*tbm=isch*
// @include http*://*.google.tld/imgres*
// @updateURL https://gist.githubusercontent.com/bijij/58cc8cfc859331e4cf80210528a7b255/raw/viewimage.user.js
@Sporif
Sporif / RestartFirefoxButton_Movable.uc.js
Last active October 3, 2022 18:27
Restart Button for Firefox. An updated version of https://github.com/Endor8/userChrome.js/tree/master/restartfirefoxbutton_movable. Middle click also empties the script cache.
(function() {
if (location != 'chrome://browser/content/browser.xul' && location != 'chrome://browser/content/browser.xhtml')
return;
try {
CustomizableUI.createWidget({
id: 'restart-button',
type: 'custom',
defaultArea: CustomizableUI.AREA_NAVBAR,
onBuild: function(aDocument) {
@Sporif
Sporif / userChrome.css
Last active July 21, 2024 02:38
NOTE: Doesn't work with Firefox 72+. Add userChrome.js support to Firefox with just userChrome.css. A compact version of https://github.com/Sporif/firefox-quantum-userchromejs. Instead of loading userChrome.xml file it uses a data URI.
toolbarbutton#alltabs-button {
-moz-binding: url(data:text/plain;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8IS0tIENvcHlyaWdodCAoYykgMjAxNyBIYWdnYWkgTnVjaGkNCkF2YWlsYWJsZSBmb3IgdXNlIHVuZGVyIHRoZSBNSVQgTGljZW5zZToNCmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUDQogLS0+DQoNCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPg0KPGJpbmRpbmdzIHhtbG5zPSJodHRwOi8vd3d3Lm1vemlsbGEub3JnL3hibCI+DQogICAgPGJpbmRpbmcgaWQ9ImpzIj4NCiAgICAgICAgPGltcGxlbWVudGF0aW9uPg0KICAgICAgICAgICAgPGNvbnN0cnVjdG9yPjwhW0NEQVRBWw0KICAgICAgICAgICAgICAgIGlmKHdpbmRvdy51c2VyQ2hyb21lSnNNb2QpIHJldHVybjsNCiAgICAgICAgICAgICAgICB3aW5kb3cudXNlckNocm9tZUpzTW9kID0gdHJ1ZTsNCg0KICAgICAgICAgICAgICAgIHZhciBjaHJvbWVGaWxlcyA9IEZpbGVVdGlscy5nZXREaXIoIlVDaHJtIiwgW10pLmRpcmVjdG9yeUVudHJpZXM7DQogICAgICAgICAgICAgICAgdmFyIHh1bEZpbGVzID0gW107DQogICAgICAgICAgICAgICAgdmFyIHNzcyA9IENjWydAbW96aWxsYS5vcmcvY29udGVudC9zdHlsZS1zaGVldC1zZXJ2aWNlOzEnXS5nZXRTZXJ2aWNlKENpLm5zSVN0eWxlU2hlZXRTZXJ2aWNlKTsNCg0KICAgICAgICAgIC