Skip to content

Instantly share code, notes, and snippets.

@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 1, 2024 00:16
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/]
[https://github.com/hagezi/dns-blocklists#tlds]
[https://github.com/yokoffing/filterlists/blob/main/enhanced_site_protection.txt]
[https://github.com/ShadowWhisperer/BlockLists/blob/master/Lists/Top_Level]
[https://hblock.molinero.dev/most_abused_tlds.txt]
@KohGeek
KohGeek / sortPlaylist.user.js
Last active April 2, 2024 06:04 — 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 July 24, 2024 16:48
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 July 22, 2024 02:57
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 March 3, 2024 16:28
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
@IzzySoft
IzzySoft / ff57_addons.md
Last active June 1, 2022 16:40
Firefox 57+ Addon Compatibility / Replacements

Mozilla is doing it again: detering the addon developers who once made it „big“ (last time was when they forced them from XUL to their new „stable API“ for „long-time compatibility“ – which then proved to change as often as the XUL did before). So again, many of them are „jumping boat“, as they a) have no time to migrate to the new WebExtensions, b) WebExtensions don't offer the APIs required to perform the tasks needed by their addon, c) WebExtensions not even being ready yet (with just a couple of weeks left to the deadline, the API is still changing and far from being completed).

I won't start a rant on „if I wanted a browser that looks like Chrome (Aurora with FF29), behaves like Chrome (only signed addons via a central store), and now feels like Chrome, I'd use Chrome“. Of course that's true, and having to re-configure ~80% of the browser of course lets me consider changing to a different browser (certainly not Chrome, though). But first let's look where we stand (comments, additions and suggestions wel