Basic Functions (For userscripts)

Useful functions for myself

Pada tanggal 28 Januari 2025. Lihat %(latest_version_link).

Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.

  • v0.7.2 28 Juli 2023

    fixed an error description mistake

  • v0.7.1 19 Juli 2023
    • detectDom now uses Set instead of Array to prevent duplicate added nodes
  • v0.7 17 Juli 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 Juli 2023

    Added detectDom, which provides ability to monitor document changes

  • v0.5 31 Maret 2023

    $$CrE: Create new element with pre-configs

  • v0.4 10 Februari 2023

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

  • v0.3.2 30 Januari 2023

    addStyle now returns the

  • v0.0.1.20230130165706 30 Januari 2023

    code improvements

  • v0.3 30 Januari 2023

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

  • v0.2 06 Desember 2022

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

  • v0.1 05 Desember 2022

Tampilkan semua versi skrip