yt-activity.user.js 405 B

123456789101112131415
  1. // ==UserScript==
  2. // @name Youtube Activity Updater
  3. // @namespace Youtube Activity Updater
  4. // @version 1
  5. // @description Automatically updates "user activity" in youtube. Prevents 'Video paused' dialogue.
  6. // @match https://www.youtube.com/*
  7. // @grant none
  8. // ==/UserScript==
  9. (() => {
  10. 'use strict';
  11. setInterval(() => {
  12. window._lact = Date.now();
  13. }, 300000);
  14. })();