BS Modul Updater

Aktualisiert das Neueste Episoden und Serien Modul ohne Reload

  1. // ==UserScript==
  2. // @name BS Modul Updater
  3. // @namespace https://bs.to/
  4. // @version 3.2
  5. // @description Aktualisiert das Neueste Episoden und Serien Modul ohne Reload
  6. // @author Asu
  7. // @match https://bs.to
  8. // @match https://bs.to/home
  9. // @icon https://bs.to/favicon.ico
  10. // @require https://greasyfork.org/scripts/375096-bs-library/code/BS_Library.js?version=653622
  11. // @grant none
  12. // ==/UserScript==
  13. // jshint esversion: 6
  14. const BS = window.BS;
  15. const interval = 1000 * 60; //Intervall in Millisekunden (1000ms * 60 = 1min)
  16.  
  17. (function() {
  18. 'use strict';
  19. setInterval(() => {
  20. BS.Module.MultiUpdate(['#newest_episodes', '#newest_series']);
  21. }, interval);
  22. })();