KO4BB

Correct problems in accessing KO4BB web site

  1. // ==UserScript==
  2. // @name KO4BB
  3. // @namespace http://tampermonkey.net/
  4. // @version 2025-02-16
  5. // @description Correct problems in accessing KO4BB web site
  6. // @author eliocor
  7. // @match https://www.ko4bb.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=ko4bb.com
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function patch_ko4bb() {
  14. 'use strict';
  15. // Your code here...
  16. var i;
  17. var allLinks = document.links;
  18. //console.log('my script started..')
  19. if (allLinks != null)
  20. {
  21. for (i = 0; i <allLinks.length; ++i)
  22. {
  23. if (allLinks [i].href.indexOf ("www.ko4bb.com/index.php") > 0)
  24. {
  25. allLinks [i].href = allLinks [i].href.replace (
  26. "www.ko4bb.com/index.php",
  27. "www.ko4bb.com/getsimple/index.php");
  28. }
  29. }
  30. }
  31. })();
  32.