Basic Functions (For browser)

Useful functions for myself

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

  • v0.5.7 2025-02-08
    • change: replace GM_grant with UAC
  • v0.5.6 2024-12-29
    • update loadFuncs and addStyle
    • added htmlEncode
  • v0.5.5.1 2024-05-17
    • bug fix
  • v0.5.5 2024-05-17
    • Added detectDom, Assert, queueTask, testChecker, registerChecker, loadFuncs
    • Updated addStyle
    • Code quality improvements
  • v0.5.4 2023-06-13

    bug fix

  • v0.5.3 2023-06-05
    • bug fix for textarea magic command
  • v0.5.2 2023-06-05
    • textarea magic command now stores new textareas into `ta${n}` variables
  • v0.5.1 2023-06-05

    - bug fix for ```textarea``` magic command

  • v0.5 2023-06-05
    • new $$CrE function (same as userscript version)
    • new textarea magic command
    • updated addStyle function (same as userscript version)
  • v0.4 2023-02-10

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

  • v0.3 2022-12-06

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

  • v0.2.1 2022-12-06

    bug fix

  • v0.2 2022-12-06

    新增了window.grant继承

  • v0.1 2022-12-06