Greasy Fork is available in English.

Basic Functions (For userscripts)

Useful functions for myself

A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.

  • v0.8.6.3 24/3/2024
    • bug fix for detectDom
  • v0.8.6.2 24/3/2024
    • bug fix for detectDom
  • v0.8.6.1 24/3/2024
    • queueTask now supports specifying different queue's sleep and max argument
  • v0.8.6 24/3/2024
    • added queueTask
  • v0.8.5.2 23/3/2024
    • bug fix
  • v0.8.5.1 23/3/2024
    • loadFuncs now accept detectDom property in both array format (for multiple selectors to detect) and string format (for single selector to detect) in objFunc
  • v0.8.5 23/3/2024
    • detectDom now works in both callback and promise mode, and prefers promise mode.
  • v0.8.4.2 22/3/2024
    • bug fix
  • v0.8.4.1 22/3/2024
    • bug fix
  • v0.8.4 22/3/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/9/2023

    bug fix

  • v0.8 15/9/2023

    detectDom now supports matching multiple selectors in one time

  • v0.7.2 28/7/2023

    fixed an error description mistake

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

    Added detectDom, which provides ability to monitor document changes

  • v0.5 31/3/2023

    $$CrE: Create new element with pre-configs

  • v0.4 10/2/2023

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

  • v0.3.2 30/1/2023

    addStyle now returns the

  • v0.0.1.20230130165706 30/1/2023

    code improvements

  • v0.3 30/1/2023

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

  • v0.2 6/12/2022

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

  • v0.1 5/12/2022