Skip to content

Instantly share code, notes, and snippets.

View ftoh's full-sized avatar

Anton Makarenko ftoh

View GitHub Profile
@ftoh
ftoh / youtube.user.js
Created September 6, 2025 06:52
HotFix for Youtube Comments
// ==UserScript==
// @name HotFix for Youtube Comments
// @namespace http://tampermonkey.net/
// @version 2025-09-06
// @description Hot fix for comments on youtube!
// @author ftoh
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @run-at document-start

Allows videos to continue playing in the background when the tab is inactive or the player is out of view, bypassing restrictions that pause videos during background tab usage or when not in focus.

Usage Instructions:

  1. Add this to your uBO userResourcesLocation in Advanced Settings:
https://gist.githubusercontent.com/ftoh/43bed5785130e3b0ab81281bd52eaa97/raw/945eb67dd83d8f1303750ce00a0c87f46fe37893/disable-pageview-api.js
  1. Add this filter to My filters:
@ftoh
ftoh / test.user.js
Last active September 6, 2020 12:32
Не работает
// ==UserScript==
// @name Kinopoisk Adv Links
// @version 0.3
// @author FTOH
// @namespace https://github.com/FTOH
// @match https://www.kinopoisk.ru/film/*
// @run-at document-body
// ==/UserScript==