ソースを参照

Added yt-activity

Min 5 年 前
コミット
61950dd2fc
1 ファイル変更15 行追加0 行削除
  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);
+})();