|
|
@@ -0,0 +1,15 @@
|
|
|
+// ==UserScript==
|
|
|
+// @name Youtube Activity Updater
|
|
|
+// @namespace Youtube Activity Updater
|
|
|
+// @version 1
|
|
|
+// @description Automatically updates "user activity" in youtube. Prevents 'Video paused' dialogue.
|
|
|
+// @match https://www.youtube.com/*
|
|
|
+// @grant none
|
|
|
+// ==/UserScript==
|
|
|
+
|
|
|
+(() => {
|
|
|
+ 'use strict';
|
|
|
+ setInterval(() => {
|
|
|
+ window._lact = Date.now();
|
|
|
+ }, 300000);
|
|
|
+})();
|