Basic Functions (For userscripts)

Useful functions for myself

От 03.02.2025. Виж последната версия.

Има други версии на този скрипт, където кодът е обновен. Покажи всички версии.

  • 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

Покажи всички версии на скрипта.

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