Cssob
A JavaScript Inject that reads all your linked CSS files and tuns them into a readable, mutable object.
Install / Use
/learn @gelus/CssobREADME
cssob
A JavaScript Inject that reads all your linked and inline stylesheets and turns them into a readable, mutable object.
<h2>installation</h2>Insert script after your CSS links. Script will compose a global object constucted of all your defined rules.
<h2>Use:</h2> <h3>Retrieve information</h3> <pre>console.log(cssob[cssSelector].height); //logs hight set by provided asosiated CSS selector rule.</pre> <h3>Set information</h3> <pre>cssob[cssSelector].backgroundColor = 'yellow'; //Sets elements that match the selector's background to yellow. </pre> <h3>Additional API</h3> <h4>listProps()</h4> Returns an array with all the available css properties and methods from the queried cssob object. <pre>cssob['string cssSelector'].listProps();Example
<style> .clear{clear: both; height: 0; display: block} </style> <sciprt> var clearClassProperties = cssob['.clear'].listProps(); console.log(clearClassProperties); //logs ["clear", "height", "display"] amung other available operations (some browser specific) </script> </pre>
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
