你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/429537-gm-dat-gui,源站連結 點此以跳轉。
dat.GUI modified to prioritize GM_getValue/GM_setValue over localStorage among other things.
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org.cn/scripts/429537/964426/GM%20datGUI.js
Original source by dataarts @ GitHub
https://github.com/dataarts/dat.gui
Forked by MacroMan @ GitHub
https://github.com/MacroMan/dat.gui
Modified by MadHero @ GreasyFork.
https://greasyfork.org.cn/users/168
- Prioritize GM_getValue/GM_setValue over localStorage
- New constructor param/property "useLocalStorage", param overriden by stored value, default "false"
- New constructor param/property "storageHashPrefix", default "document.location.href + '.'"
- New constructor param/property "autoSaveIfPossible", saves on tab exit, default "true"
- New "GUI.hide_key_code", sets keyCode for hiding GUIs, default "72" (h)
- Prioritize Shadow DOM container, prevents CSS conflicts
- Expand GUI._keydownHandler filtering of writtable elements.
Initial userscript release, bug reports would be appreciated.