randomMDN

A bot that shares random articles on MDN.

This bot is NOT related to or developed by @mozilla.

Honorable mentions:
- @stefan: twitter bot original
- @jaandrle

2025-06-29

πŸ¦– OpenSearch description format πŸ¦–

developer.mozilla.org/en-US/do

The OpenSearch description format can be used to describe the web interface of a search engine. This allows a website to describe a search engine for itself, so that a browser or other client application can use that search engine. OpenSearch is supported by (at least) Firefox, Edge, Safari, and Chrome. (See Reference Material for links to other browsers' documentation.)

#webdev

2025-06-29

πŸ¦– Range: extractContents() method
βœ… Widely available (from Jul 2015)

developer.mozilla.org/en-US/do

The extractContents() method of the Range interface is similar to a combination of Range.cloneContents() and Range.deleteContents(). It removes the child Nodes of the range from the document, clones them, and returns them as a new DocumentFragment object. For partially selected nodes, only the selected text is deleted, but all containing parent…

#webdev

2025-06-28

πŸ¦– AnimationEvent: pseudoElement property
βœ… Widely available (from Mar 2020)

developer.mozilla.org/en-US/do

The AnimationEvent.pseudoElement read-only property is a string, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.

#webdev

2025-06-28

πŸ¦– Document: firstElementChild property
βœ… Widely available (from Apr 2018)

developer.mozilla.org/en-US/do

The Document.firstElementChild read-only property returns the document's first child Element, or null if there are no child elements.

#webdev

2025-06-27

πŸ¦– IdentityCredentialRequestOptions πŸ¦–

developer.mozilla.org/en-US/do

The IdentityCredentialRequestOptions dictionary represents the object passed to CredentialsContainer.get() as the value of the identity option.

#webdev

2025-06-27

πŸ¦– RTCRtpSender: transport property
βœ… Widely available (from Mar 2022)

developer.mozilla.org/en-US/do

The read-only transport property of an RTCRtpSender object provides the RTCDtlsTransport object used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.

#webdev

2025-06-26

πŸ¦– -webkit-text-security πŸ¦–

developer.mozilla.org/en-US/do

-webkit-text-security is a non-standard CSS property that obfuscates characters in a <form> field (such as <input> or <textarea>) by replacing them with a shape. It only affects fields that are not of type=password.

#webdev #CSS

2025-06-26

πŸ¦– Compressed texture formats πŸ¦–

developer.mozilla.org/en-US/do

The WebGL API provides methods to use compressed texture formats. These are useful to increase texture detail while limiting the additional video memory necessary. By default, no compressed formats are available: a corresponding compressed texture format extension must first be enabled.

#webdev

2025-06-25

πŸ¦– Clipping and masking πŸ¦–

developer.mozilla.org/en-US/do

Erasing part of what you have created might seem contradictory at first. But when you, for example, try to create a semicircle in SVG, you will find out the use of the following properties quickly:

#webdev #SVG

2025-06-25

πŸ¦– TypeError: calling a builtin X constructor without new is forbidden πŸ¦–

developer.mozilla.org/en-US/do

The JavaScript exception "calling a builtin X constructor without new is forbidden" occurs when you try to call a builtin constructor without using the new keyword. All modern constructors, such as Promise and Map, must be called with new.

#webdev #JavaScript

2025-06-24

πŸ¦– ServiceWorkerGlobalScope: sync event
🟧 Limited availability

developer.mozilla.org/en-US/do

The sync event of the ServiceWorkerGlobalScope interface is fired when the page (or worker) that registered the event with the SyncManager is running and as soon as network connectivity is available.

#webdev

2025-06-24

πŸ¦– SVGFEDropShadowElement: x property
βœ… Widely available (from Jan 2020)

developer.mozilla.org/en-US/do

The x read-only property of the SVGFEDropShadowElement interface describes the horizontal coordinate of the position of an SVG filter primitive as a SVGAnimatedLength.

#webdev

2025-06-23

πŸ¦– SVGElement: load event
🟧 Limited availability

developer.mozilla.org/en-US/do

The load event fires on an SVGElement when it is loaded in the browser, e.g., in the DOM in the case of an embedded <svg>. It is basically the same as the standard load DOM event.

#webdev

2025-06-23

πŸ¦– Temporal.PlainYearMonth.prototype.year
🟧 Limited availability

developer.mozilla.org/en-US/do

The year accessor property of Temporal.PlainYearMonth instances returns an integer representing the number of years of this year-month relative to the start of a calendar-specific epoch year. It is calendar-dependent.

#webdev #JavaScript

2025-06-22

πŸ¦– SVGFEDisplacementMapElement: height property
βœ… Widely available (from Jul 2015)

developer.mozilla.org/en-US/do

The height read-only property of the SVGFEDisplacementMapElement interface describes the vertical size of an SVG filter primitive as a SVGAnimatedLength.

#webdev

2025-06-22

πŸ¦– Headers
βœ… Widely available (from Mar 2017)

developer.mozilla.org/en-US/do

The Headers interface of the Fetch API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing headers from the list of the request's headers.

#webdev

2025-06-21

πŸ¦– SVGFESpecularLightingElement: width property
βœ… Widely available (from Jul 2015)

developer.mozilla.org/en-US/do

The width read-only property of the SVGFESpecularLightingElement interface describes the horizontal size of an SVG filter primitive as a SVGAnimatedLength.

#webdev

2025-06-21

πŸ¦– BluetoothCharacteristicProperties: broadcast property
🟧 Limited availability

developer.mozilla.org/en-US/do

The broadcast read-only property of the BluetoothCharacteristicProperties interface returns a boolean that is true if the broadcast of the characteristic value is permitted using the Server Characteristic Configuration Descriptor.

#webdev

2025-06-20

πŸ¦– animation-duration
βœ… Widely available (from Sept 2015)

developer.mozilla.org/en-US/do

The animation-duration CSS property sets the length of time that an animation takes to complete one cycle.

#webdev #CSS

2025-06-20

πŸ¦– GPUCompilationMessage: offset property
🟧 Limited availability

developer.mozilla.org/en-US/do

The offset read-only property of the GPUCompilationMessage interface is a number representing the offset from the start of the shader code to the exact point, or the start of the relevant substring, that the message corresponds to.

#webdev

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst