mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required_plugins": ["chrome"],
|
|
"properties": {
|
|
"INFINISCROLL_ENABLED": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-aliases": ["SAVE_INFINISCROLL", "USE_INFINISCROLL"],
|
|
"description": "Enable infinite scroll page expansion"
|
|
},
|
|
"INFINISCROLL_TIMEOUT": {
|
|
"type": "integer",
|
|
"default": 120,
|
|
"minimum": 10,
|
|
"x-fallback": "TIMEOUT",
|
|
"description": "Maximum timeout for scrolling in seconds"
|
|
},
|
|
"INFINISCROLL_SCROLL_DELAY": {
|
|
"type": "integer",
|
|
"default": 2000,
|
|
"minimum": 500,
|
|
"description": "Delay between scrolls in milliseconds"
|
|
},
|
|
"INFINISCROLL_SCROLL_DISTANCE": {
|
|
"type": "integer",
|
|
"default": 1600,
|
|
"minimum": 100,
|
|
"description": "Distance to scroll per step in pixels"
|
|
},
|
|
"INFINISCROLL_SCROLL_LIMIT": {
|
|
"type": "integer",
|
|
"default": 10,
|
|
"minimum": 1,
|
|
"maximum": 100,
|
|
"description": "Maximum number of scroll steps"
|
|
},
|
|
"INFINISCROLL_MIN_HEIGHT": {
|
|
"type": "integer",
|
|
"default": 16000,
|
|
"minimum": 1000,
|
|
"description": "Minimum page height to scroll to in pixels"
|
|
},
|
|
"INFINISCROLL_EXPAND_DETAILS": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Expand <details> elements and click 'load more' buttons for comments"
|
|
}
|
|
}
|
|
}
|