소스 검색

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