Skip to content

Instantly share code, notes, and snippets.

View PoLaKoSz's full-sized avatar

Tom PoLáKoSz PoLaKoSz

View GitHub Profile
||youtube.com^$3p,frame,redirect=click2load.html
||youtube-nocookie.com^$3p,frame,redirect=click2load.html
||terelo.mediaworks.hu
# nCore
||rklm1.parom.hu
||nc-img.cdn.l7cache.com
ncore.pro##div.torrent_lenyilo_tartalom > .hr_stuff
ncore.pro##div.torrent_lenyilo_tartalom > center > div.banner
@PoLaKoSz
PoLaKoSz / aws-notification-timer.user.js
Last active January 20, 2025 08:07 — forked from jamesinc/aws-notification-timer.user.js
AWS console notification dismisserator 9000 - dismiss AWS flash notifications after (about) 5 seconds
// ==UserScript==
// @name AWS console notification dismisserator 9000
// @namespace https://github.com/jamesinc
// @version 1.2
// @description Dismiss AWS flash notifications after about 5 seconds
// @author James Ducker
// @match https://*.console.aws.amazon.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
@PoLaKoSz
PoLaKoSz / grepo-conqueror.user.js
Last active January 8, 2025 14:12
Test userscript
(function() {
alert('Works!');
})();
@PoLaKoSz
PoLaKoSz / Collapse-discord-categories.js
Last active August 24, 2020 16:30
Open Discord (in a browser or the app), open the developer tools, copy this JavaScript code in it and hit [Enter] to execute it.
function isCollapsed(node) {
return node.getAttribute('aria-expanded') === "false";
}
function collapseVisibleCategories(categoryNames) {
let collapsedCount = 0;
categoryNames.forEach(categoryName => {
const containerDiv = categoryName.parentNode
if (isCollapsed(containerDiv)) {
return;