Basic Functions (For userscripts)

Useful functions for myself

As of 03. 02. 2025. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v0.8.4 22. 03. 2024
    • Assert support
    • testChecker, registerChecker, loadFuncs support
  • v0.8.3 29. 12. 2023
    • Update getUrlArgv
  • v0.8.2 19. 11. 2023

    detectDom: added support for attributes change

  • v0.8.1 15. 09. 2023

    bug fix

  • v0.8 15. 09. 2023

    detectDom now supports matching multiple selectors in one time

  • v0.7.2 28. 07. 2023

    fixed an error description mistake

  • v0.7.1 19. 07. 2023
    • detectDom now uses Set instead of Array to prevent duplicate added nodes
  • v0.7 17. 07. 2023
    • small bug fixes
    • addStyle now recieves parentElement, css, id as its arguments, and:
      • for shortcut: css, css, id, parentElement, css, id
      • removes old elements with same id in document when using this function with id provided
  • v0.6 17. 07. 2023

    Added detectDom, which provides ability to monitor document changes

  • v0.5 31. 03. 2023

    $$CrE: Create new element with pre-configs

  • v0.4 10. 02. 2023

    The third argument of DoLog now is changed from [Boolean]trace to [String]logger

  • v0.3.2 30. 01. 2023

    addStyle now returns the

  • v0.0.1.20230130165706 30. 01. 2023

    code improvements

  • v0.3 30. 01. 2023

    addStyle arguments support: css | parentElement, css | parentElement, css, attributes

  • v0.2 06. 12. 2022

    escJsStr支持转义\r,\n和\t

  • v0.1 05. 12. 2022

Show all script versions

长期地址
遇到问题?请前往 GitHub 提 Issues。