Reddit-Stream Auto-Refresh

Auto-Refreshes your Reddit-Stream.com page every 30 seconds. Modify the script and change to any time you want.

  1. // ==UserScript==
  2. // @name Reddit-Stream Auto-Refresh
  3. // @namespace nick2bad4u
  4. // @description Auto-Refreshes your Reddit-Stream.com page every 30 seconds. Modify the script and change to any time you want.
  5. // @author Nick2bad4u
  6. // @match https://reddit-stream.com/*
  7. // @icon https://www.google.com/s2/favicons?sz=64&domain=reddit-stream.com
  8. // @version 2.3
  9. // @grant none
  10. // @homepage https://github.com/Nick2bad4u/RedditCommentStreamRefresh
  11. // @homepageURL https://github.com/Nick2bad4u/UserStyles
  12. // @supportURL https://github.com/Nick2bad4u/UserStyles/issues
  13. // @license CC-BY-SA-3.0; http://creativecommons.org/licenses/by-sa/3.0/
  14. // @license MIT
  15. // @tag reddit
  16. // ==/UserScript==
  17.  
  18. (function () {
  19. 'use strict';
  20. // Refresh Interval in milliseconds
  21. const REFRESH_INTERVAL = 30 * 1000;
  22. // Reload page after REFRESH_INTERVAL
  23. setTimeout(function () {
  24. location.reload(); // Reload the page
  25. }, REFRESH_INTERVAL); // 30 seconds
  26. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址