Skip to content

Instantly share code, notes, and snippets.

@javascripter
Created February 24, 2009 15:28
Show Gist options
  • Save javascripter/69617 to your computer and use it in GitHub Desktop.
Save javascripter/69617 to your computer and use it in GitHub Desktop.
window:
qw(
Attr Audio CDATASection
CSSCharsetRule CSSFontFaceRule CSSImportRule
CSSMediaRule CSSPageRule CSSPrimitiveValue
CSSRule CSSRuleList CSSStyleDeclaration
CSSStyleRule CSSStyleSheet CSSValue
CSSValueList CSSVariablesDeclaration CSSVariablesRule
CanvasRenderingContext2D CharacterData Clipboard
Comment Counter DOMException
DOMImplementation DOMParser DOMStringList
Document DocumentFragment DocumentType
Element Entity EntityReference
EvalError Event EventException
File FileList HTMLAnchorElement
HTMLAppletElement HTMLAreaElement HTMLAudioElement
HTMLBRElement HTMLBaseElement HTMLBaseFontElement
HTMLBlockquoteElement HTMLBodyElement HTMLButtonElement
HTMLCanvasElement HTMLCollection HTMLDListElement
HTMLDirectoryElement HTMLDivElement HTMLDocument
HTMLElement HTMLEmbedElement HTMLFieldSetElement
HTMLFontElement HTMLFormElement HTMLFrameElement
HTMLFrameSetElement HTMLHRElement HTMLHeadElement
HTMLHeadingElement HTMLHtmlElement HTMLIFrameElement
HTMLImageElement HTMLInputElement HTMLIsIndexElement
HTMLLIElement HTMLLabelElement HTMLLegendElement
HTMLLinkElement HTMLMapElement HTMLMarqueeElement
HTMLMediaElement HTMLMenuElement HTMLMetaElement
HTMLModElement HTMLOListElement HTMLObjectElement
HTMLOptGroupElement HTMLOptionElement HTMLParagraphElement
HTMLParamElement HTMLPreElement HTMLQuoteElement
HTMLScriptElement HTMLSelectElement HTMLStyleElement
HTMLTableCaptionElement HTMLTableCellElement HTMLTableColElement
HTMLTableElement HTMLTableRowElement HTMLTableSectionElement
HTMLTextAreaElement HTMLTitleElement HTMLUListElement
HTMLVideoElement Image KeyboardEvent
MediaError MediaList MessageChannel
MessageEvent MimeType MimeTypeArray
MouseEvent MutationEvent NamedNodeMap
Node NodeFilter NodeList
Notation Option OverflowEvent
Plugin PluginArray ProcessingInstruction
ProgressEvent Range RangeError
RangeException Rect ReferenceError
SVGAngle SVGColor SVGException
SVGGradientElement SVGLength SVGMarkerElement
SVGPaint SVGPathSeg SVGPreserveAspectRatio
SVGRenderingIntent SVGTextContentElement SVGTextPathElement
SVGTransform SVGUnitTypes Storage
StorageEvent StyleSheet StyleSheetList
SyntaxError Text TextEvent
TextMetrics TypeError UIEvent
URIError WebKitAnimationEvent WebKitCSSKeyframeRule
WebKitCSSKeyframesRule WebKitCSSMatrix WebKitCSSTransformValue
WebKitTransitionEvent WheelEvent Worker
XMLDocument XMLHttpRequest XMLHttpRequestException
XMLHttpRequestUpload XMLSerializer XPathEvaluator
XPathException XPathResult XSLTProcessor
_inspectorCommandLineAPI addEventListener alert
applicationCache atob blur
btoa captureEvents clearInterval
clearTimeout clientInformation close
closed confirm console
crypto defaultStatus defaultstatus
devicePixelRatio document event
find focus frameElement
frames getComputedStyle getMatchedCSSRules
getSelection history innerHeight
innerWidth k length
localStorage location locationbar
menubar moveBy moveTo
name navigator offscreenBuffering
onabort onbeforeunload onblur
onchange onclick ondblclick
onerror onfocus onkeydown
onkeypress onkeyup onload
onmousedown onmousemove onmouseout
onmouseover onmouseup onmousewheel
onreset onresize onscroll
onsearch onselect onsubmit
onunload onwebkitanimationend onwebkitanimationiteration
onwebkitanimationstart onwebkittransitionend open
openDatabase opener outerHeight
outerWidth pageXOffset pageYOffset
parent personalbar postMessage
print prompt releaseEvents
removeEventListener resizeBy resizeTo
screen screenLeft screenTop
screenX screenY scroll
scrollBy scrollTo scrollX
scrollY scrollbars self
sessionStorage setInterval setTimeout
showModalDialog status statusbar
stop toolbar top
window
)
document:
qw(
ATTRIBUTE_NODE CDATA_SECTION_NODE COMMENT_NODE
DOCUMENT_FRAGMENT_NODE DOCUMENT_NODE DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOCUMENT_POSITION_PRECEDING DOCUMENT_TYPE_NODE
ELEMENT_NODE ENTITY_NODE ENTITY_REFERENCE_NODE
NOTATION_NODE PROCESSING_INSTRUCTION_NODE TEXT_NODE
URL activeElement addEventListener
adoptNode alinkColor all
anchors appendChild applets
attributes baseURI bgColor
body captureEvents characterSet
charset childNodes clear
cloneNode close compareDocumentPosition
compatMode cookie createAttribute
createAttributeNS createCDATASection createComment
createDocumentFragment createElement createElementNS
createEntityReference createEvent createExpression
createNSResolver createNodeIterator createProcessingInstruction
createRange createTextNode createTreeWalker
defaultCharset defaultView designMode
dir dispatchEvent doctype
documentElement documentURI domain
elementFromPoint embeds evaluate
execCommand fgColor firstChild
forms getCSSCanvasContext getElementById
getElementsByClassName getElementsByName getElementsByTagName
getElementsByTagNameNS getOverrideStyle getSelection
hasAttributes hasChildNodes hasFocus
height images implementation
importNode inputEncoding insertBefore
isDefaultNamespace isEqualNode isSameNode
isSupported lastChild lastModified
linkColor links localName
location lookupNamespaceURI lookupPrefix
namespaceURI nextSibling nodeName
nodeType nodeValue normalize
open ownerDocument parentElement
parentNode plugins preferredStylesheetSet
prefix previousSibling queryCommandEnabled
queryCommandIndeterm queryCommandState queryCommandSupported
queryCommandValue querySelector querySelectorAll
readyState referrer releaseEvents
removeChild removeEventListener replaceChild
scripts selectedStylesheetSet styleSheets
textContent title vlinkColor
width write writeln
xmlEncoding xmlStandalone xmlVersion
)
document.body:
qw(
__treeElementIdentifier bgColor text
scrollLeft scrollTop background
scrollHeight aLink vLink
scrollWidth link id
isContentEditable contentEditable lang
outerText title innerText
dir outerHTML className
children innerHTML tabIndex
style tagName lastElementChild
offsetLeft clientLeft offsetHeight
clientTop offsetWidth clientWidth
offsetParent firstElementChild childElementCount
previousElementSibling nextElementSibling offsetTop
clientHeight baseURI nodeValue
parentNode childNodes textContent
nodeType nextSibling lastChild
localName nodeName ownerDocument
namespaceURI prefix previousSibling
parentElement firstChild attributes
insertAdjacentElement insertAdjacentHTML blur
insertAdjacentText focus getAttribute
removeAttributeNS removeAttributeNode scrollIntoView
querySelectorAll querySelector setAttributeNode
setAttributeNS scrollIntoViewIfNeeded setAttribute
hasAttributeNS getAttributeNodeNS setAttributeNodeNS
removeAttribute contains scrollByPages
getElementsByTagName hasAttribute getAttributeNS
getAttributeNode getElementsByTagNameNS getElementsByClassName
scrollByLines addEventListener removeEventListener
dispatchEvent hasAttributes isSameNode
compareDocumentPosition isDefaultNamespace isSupported
cloneNode isEqualNode replaceChild
lookupPrefix removeChild normalize
lookupNamespaceURI insertBefore appendChild
hasChildNodes NOTATION_NODE COMMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY ENTITY_REFERENCE_NODE DOCUMENT_FRAGMENT_NODE
DOCUMENT_POSITION_PRECEDING DOCUMENT_TYPE_NODE ATTRIBUTE_NODE
DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC CDATA_SECTION_NODE
ELEMENT_NODE DOCUMENT_POSITION_CONTAINS DOCUMENT_NODE
TEXT_NODE ENTITY_NODE PROCESSING_INSTRUCTION_NODE
DOCUMENT_POSITION_FOLLOWING
)
Array.prototype.slice.call(getComputedStyle(document.body, null)):
qw(
-webkit-animation-delay -webkit-animation-direction
-webkit-animation-duration -webkit-animation-iteration-count
-webkit-animation-name -webkit-animation-play-state
-webkit-animation-timing-function -webkit-appearance
-webkit-background-clip -webkit-background-composite
-webkit-background-origin -webkit-background-size
-webkit-border-bottom-left-radius -webkit-border-bottom-right-radius
-webkit-border-fit -webkit-border-horizontal-spacing
-webkit-border-image -webkit-border-top-left-radius
-webkit-border-top-right-radius -webkit-border-vertical-spacing
-webkit-box-align -webkit-box-direction
-webkit-box-flex -webkit-box-flex-group
-webkit-box-lines -webkit-box-ordinal-group
-webkit-box-orient -webkit-box-pack
-webkit-box-reflect -webkit-box-shadow
-webkit-box-sizing -webkit-column-break-after
-webkit-column-break-before -webkit-column-break-inside
-webkit-column-count -webkit-column-gap
-webkit-column-rule-color -webkit-column-rule-style
-webkit-column-rule-width -webkit-column-width
-webkit-dashboard-region -webkit-highlight
-webkit-line-break -webkit-line-clamp
-webkit-margin-bottom-collapse -webkit-margin-top-collapse
-webkit-marquee-direction -webkit-marquee-increment
-webkit-marquee-repetition -webkit-marquee-style
-webkit-mask-attachment -webkit-mask-box-image
-webkit-mask-clip -webkit-mask-composite
-webkit-mask-image -webkit-mask-origin
-webkit-mask-position -webkit-mask-repeat
-webkit-mask-size -webkit-nbsp-mode
-webkit-rtl-ordering -webkit-text-decorations-in-effect
-webkit-text-fill-color -webkit-text-security
-webkit-text-stroke-color -webkit-text-stroke-width
-webkit-transform -webkit-transform-origin
-webkit-transition-delay -webkit-transition-duration
-webkit-transition-property -webkit-transition-timing-function
-webkit-user-drag -webkit-user-modify
-webkit-user-select alignment-baseline
background-attachment background-color
background-image background-position
background-repeat baseline-shift
border-bottom-color border-bottom-style
border-bottom-width border-collapse
border-left-color border-left-style
border-left-width border-right-color
border-right-style border-right-width
border-top-color border-top-style
border-top-width bottom
caption-side clear
clip-path clip-rule
color color-interpolation
color-interpolation-filters color-rendering
cursor direction
display dominant-baseline
empty-cells fill
fill-opacity fill-rule
filter float
flood-color flood-opacity
font-family font-size
font-style font-variant
font-weight glyph-orientation-horizontal
glyph-orientation-vertical height
image-rendering kerning
left letter-spacing
lighting-color line-height
list-style-image list-style-position
list-style-type margin-bottom
margin-left margin-right
margin-top marker-end
marker-mid marker-start
mask max-height
max-width min-height
min-width opacity
orphans outline-color
outline-style outline-width
overflow-x overflow-y
padding-bottom padding-left
padding-right padding-top
page-break-after page-break-before
page-break-inside pointer-events
position resize
right shape-rendering
stop-color stop-opacity
stroke stroke-dasharray
stroke-dashoffset stroke-linecap
stroke-linejoin stroke-miterlimit
stroke-opacity stroke-width
table-layout text-align
text-anchor text-decoration
text-indent text-rendering
text-shadow text-transform
top unicode-bidi
vertical-align visibility
white-space widows
width word-spacing
word-wrap writing-mode
z-index zoom
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment