This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
||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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
alert('Works!'); | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |