dos h0019 customjs - cwtickle/danoniplus-docs GitHub Wiki
English | Japanese
Home > Chart settings specification > Importing custom data
| <- resultValsView || customJs | customCss -> |
customJs (customjs)
- Specify custom js file
- Common settings -> g_presetObj.customJs
Usage
|customJs=danoni_custom.js,danoni_custom-0190.js|
|customJs=danoni_custom.js,(..)special.js| // The second refers to the same directory as the works page
|customJs=*,special.js| // The first applies the file specified in "g_presetObj.customJs"
Overview
Specify a custom js file that can perform interrupt processing for each work.
By default, "danoni_custom.js" is loaded.
You can specify up to two files separated by commas.
The limit of two files has been removed in ver25.3.0 and later, and more than three files can be specified.
Since ver 27.1.0, the contents specified in g_presetObj.customJs can be applied by specifying "*".
When the following is specified,
g_presetObj.customJs = `init.js,initX.js`;
and if you specify the following in the chart settings,
|customJs=*,special.js|
it has the same meaning as the following definition.
|customJs=init.js,initX.js,special.js|
Language-specific settings (Since ver32.7.0)
Common Setting | Language (En) | Language (Ja) |
---|---|---|
customJs | customJsEn | customJsJa |
customjs | customjsEn | customjsJa |
Related pages
- masktitleButton :pencil: Enable/disable a set of buttons on the title screen
- maskresultButton :pencil: Enable/disable a group of buttons on result screen
- skinType :pencil: Skin setting
- settingType :pencil: Common setting name
- customcss :pencil: Specify custom css file
- Common settings > Custom file settings
Changelog
Version | Change details |
---|---|
v32.7.0 | - Supports for camel notation designation.- Support for language-specific settings. |
v27.1.0 | - Implemented the ability to specify abbreviations for contents specified in the common settings file. |
v25.3.0 | - Eliminate the maximum 2-file limit |
v19.3.0 | - Supports combination of current directory specification and subdirectories |
v10.0.0 | - Change to refer to the same directory as the work page by specifying (..) at the beginning |
v1.0.0(v0.40.0) | - Initial implementation |
| <- resultValsView || customJs | customCss -> |