config.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "required_plugins": ["chrome"],
  6. "properties": {
  7. "INFINISCROLL_ENABLED": {
  8. "type": "boolean",
  9. "default": true,
  10. "x-aliases": ["SAVE_INFINISCROLL", "USE_INFINISCROLL"],
  11. "description": "Enable infinite scroll page expansion"
  12. },
  13. "INFINISCROLL_TIMEOUT": {
  14. "type": "integer",
  15. "default": 120,
  16. "minimum": 10,
  17. "x-fallback": "TIMEOUT",
  18. "description": "Maximum timeout for scrolling in seconds"
  19. },
  20. "INFINISCROLL_SCROLL_DELAY": {
  21. "type": "integer",
  22. "default": 2000,
  23. "minimum": 500,
  24. "description": "Delay between scrolls in milliseconds"
  25. },
  26. "INFINISCROLL_SCROLL_DISTANCE": {
  27. "type": "integer",
  28. "default": 1600,
  29. "minimum": 100,
  30. "description": "Distance to scroll per step in pixels"
  31. },
  32. "INFINISCROLL_SCROLL_LIMIT": {
  33. "type": "integer",
  34. "default": 10,
  35. "minimum": 1,
  36. "maximum": 100,
  37. "description": "Maximum number of scroll steps"
  38. },
  39. "INFINISCROLL_MIN_HEIGHT": {
  40. "type": "integer",
  41. "default": 16000,
  42. "minimum": 1000,
  43. "description": "Minimum page height to scroll to in pixels"
  44. },
  45. "INFINISCROLL_EXPAND_DETAILS": {
  46. "type": "boolean",
  47. "default": true,
  48. "description": "Expand <details> elements and click 'load more' buttons for comments"
  49. }
  50. }
  51. }