Skip to content

Instantly share code, notes, and snippets.

View raingart's full-sized avatar

raingart raingart

  • Antarctic
View GitHub Profile
(() => {
'use strict';
// Polyfill for Object.fromEntries for older environments
const fromEntries = Object.fromEntries || (iterable => [...iterable].reduce((obj, [key, val]) => ((obj[key] = val), obj), {}));
// Utility to create DOM elements with options
const makeElem = (type, { classes, dataset, ...opts } = {}) => {
const node = Object.assign(document.createElement(type), opts);
if (classes) node.classList.add(...classes);
// ==UserScript==
// @name Nova YouTube beta
// @namespace yt-nova
// @version 0.50.0c
// @description Powerful control on YouTube
// @author raingart <[email protected]>
// @license Apache-2.0
// @icon https://raw.github.com/raingart/Nova-YouTube-extension/master/icons/48.png
1234 255
1111 244
0000 221
1212 212
7777 203
1004 199
2000 199
4444 196
2222 195
6969 195
@raingart
raingart / YouTubeAPIKey.md
Created October 15, 2022 06:23 — forked from zekroTJA/YouTubeAPIKey.md
Short tutorial how to create a YouTube API key

How to create a YouTube API key

What do you need?

  • Google Account

Step 1

@raingart
raingart / AdbCommands
Created April 14, 2021 19:12 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@raingart
raingart / fake_push_notifications.txt
Last active July 18, 2025 06:41
AdBlock, uBlock - rules block fake PUSH notifications
! Title: Fake PUSH Notification Filter
! Description: Filter to block Fake PUSH Notification
! uBlock link: https://gist.github.com/raingart/746bf5f4896e450bda22c099f610e13f/raw/fake_push_notifications.txt
! Homepage: https://gist.github.com/raingart/746bf5f4896e450bda22c099f610e13f
! similar: https://github.com/AdguardTeam/AdguardFilters/raw/master/AnnoyancesFilter/Popups/sections/push-notifications_general.txt
##[id|=push]
! global group
! ||*push*^