Base library usable any time.
このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.greasyfork.org/scripts/477290/1864404/NH_base.js
Pure JavaScript stuff. Nothing here should be WEB API aware, except Logger's use of console (and apparently crypto).
findIndex().at(-1).More details are in base.js as JSDoc.