Xccessors
Xccessors (cross-browser accessors) is a JavaScript shim that implements the legacy or standard methods for defining and looking up accessors (getters and setters) of objects.
Install / Use
/learn @eligrey/XccessorsREADME
Xccessors (cross-browser accessors) is a JavaScript shim that implements the legacy or standard methods for defining and looking up accessors (getters and setters) of objects.
Please note: Internet Explorer 8 only supports getters and setters on the DOM, its prototypes (document, Element.prototype, etc.), and the window object. As long as you are setting an accessor on the window object, a DOM element, or a DOM prototype, Xccessors should work fine in every browser.
Xccessors Standard
Xcessors Standard implements ECMAScript 5's (formerly 3.1) Object.defineProperty,
Object.defineProperties, and Object.getOwnPropertyDescriptor in browsers that
support the legacy non-standard accessor methods. Everything behaves according to the
ECMAScript 5 standard except the configurable, enumerable, and writable options if set
to false. It is impossible to implement these options without native support for
Object.defineProperty. The good news is that you are never going to use them if you
are changing a JavaScript program from the legacy to standard methods.
Xccessors Legacy
Xccessors Legacy implements the legacy accessor methods (object.__define[GS]etter__
and object.__lookup[GS]etter__) in browsers that support the standard
ECMAScript 5 accessor methods.
Supported Platforms
- SpiderMonkey (Firefox, all Gecko browsers)
- JavaScriptCore (Safari, many WebKit-based browsers)
- V8 (Google Chrome, Chromium)
- Futhark (Opera 9.5)
- Carakan (Opera 10.5)
- JScript 1.5 (Internet Explorer 8; DOM elements and prototypes only)
- Chakra (Internet Explorer 9)
- Rhino
- Narcissus

Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate 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
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
