{"schema":"https://maoloader.com/schemas/plugin.v1.json","kind":"plugin","slug":"maoloader-devtools","name":"maoloader DOM Inspector","version":"0.1.0","entry":"plugins/maoloader-devtools/index.js","description":"Visually select League client elements and export sanitized DOM, selectors, computed styles, and starter CSS for plugin development.","author":{"name":"maoloader","url":"https://github.com/steele123/maoloader"},"repository":"https://github.com/steele123/maoloader","homepage":"https://github.com/steele123/maoloader/tree/main/plugins/maoloader-devtools","tags":["developer-tools","dom","inspector","plugin-development"],"compatibility":{"maoloader":">=0.1.0"},"files":["plugins/maoloader-devtools/CHANGELOG.md","plugins/maoloader-devtools/README.md","plugins/maoloader-devtools/assets/icon.svg","plugins/maoloader-devtools/index.js","plugins/maoloader-devtools/styles.css"],"image_path":"plugins/maoloader-devtools/assets/icon.svg","downloads":23,"updated_at":"2026-10-16T03:34:37.854Z","assets":{"icon":{"key":"plugins/maoloader-devtools/assets/icon.svg","url":"https://raw.githubusercontent.com/steele123/maoloader/499f899167ee760c0a747c43202c16befa00de04/plugins/maoloader-devtools/assets/icon.svg"},"screenshots":[],"package":{"key":"plugins/maoloader-devtools/0.1.0/maoloader-devtools-0.1.0.zip","url":"/api/plugins/maoloader-devtools/download","size":1306706}},"readme":"# maoloader DOM Inspector\n\nDeveloper tooling for capturing League client DOM elements while creating and debugging plugins.\n\n## Capture an element\n\n1. Restart the League client after installing the plugin.\n2. Press `Ctrl+Shift+D` or run `Open DOM Inspector` from the command bar.\n3. Select `Pick element`, hover the client UI, and click the target element.\n4. The sanitized snapshot is written to `captures/latest.json` inside the live plugin folder.\n\nIn this repository, the stable capture path is:\n\n```text\napp/bin/plugins/maoloader-devtools/captures/latest.json\n```\n\nTimestamped captures are saved in the same directory. The snapshot includes the selected subtree, parent context, selector, starter CSS, dimensions, computed styles, pseudo-elements, ancestry, a bounded DOM outline, and open shadow-root content.\n\n## Console API\n\nThe plugin exposes `window.MaoloaderDOM`:\n\n```js\nMaoloaderDOM.open();\nMaoloaderDOM.pick();\nawait MaoloaderDOM.capture($0);\nMaoloaderDOM.getLatest();\nMaoloaderDOM.getCapturePath();\n```\n\nSnapshots strip form values and sensitive attributes, remove scripts, sanitize URLs, redact token-like strings, and cap large HTML subtrees. Review captures before publishing them publicly.\n","changelog":"# maoloader DOM Inspector changelog\n\n## 0.1.0 - 2026-10-15\n\nFirst release. Visually select League client elements and export sanitized DOM, selectors, computed styles, and starter CSS for plugin development.\n","history":[],"download_url":"/api/plugins/maoloader-devtools/download"}