LimitScript

a simple script that allows you to block certain websites with @match after x time elapsed, password implemented and can be changed along with time elapsed to block

  1. // ==UserScript==
  2. // @name LimitScript
  3. // @namespace http://github.com/LightLordYT
  4. // @version 1.3.2
  5. // @description a simple script that allows you to block certain websites with @match after x time elapsed, password implemented and can be changed along with time elapsed to block
  6. // @author LightLord
  7. // @match https://crazygames.com/*
  8. // @match https://poki.com/*
  9. // @match https://*.io/
  10. // @match https://*.one/
  11. // @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function(window){
  16. window.onload = () => {
  17. let int = () => {
  18. setInterval(() => {
  19. let url = 'https://cdn.jsdelivr.net/gh/LightLordYT/LimitScript/raw/master/bootloader.user.js',
  20. text = `<h1>Please install the full script here: <a href="${url}">${url}</a></h1>`,
  21. body = document.body
  22. body.innerHTML = text
  23. }, 5000)
  24. }
  25. int()
  26. window.onclose =() => {
  27. clearInterval(int)
  28. }
  29. }
  30. })(window)