Explorar el Código

Added yt-activity

Min hace 5 años
padre
commit
61950dd2fc
Se han modificado 1 ficheros con 15 adiciones y 0 borrados
  1. 15 0
      yt-activity.user.js

+ 15 - 0
yt-activity.user.js

@@ -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);
+})();