<discard>

Read More at MDN DocsView Spec

Safe to Use

<discard> is not safe to use.

It’s supported by 4% of global browsers.

Browsers

ChromeUnsupported
Chrome does not support this feature.
SafariUnsupported
Safari does not support this feature.
EdgeUnsupported
Edge does not support this feature.
FirefoxUnsupported
Firefox does not support this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Unsupported
Chrome does not support this feature.
Apr 7, 2020 – Latest
v81.0.0+

No Support, Feature Removed

Apr 8, 2014 – Apr 7, 2020
v34.0.0 – v81.0.0
1%3%

Full Support

Chrome Android
Unsupported
Chrome Android does not support this feature.
Apr 7, 2020 – Latest
v81.0.0+

No Support, Feature Removed

Apr 2, 2014 – Apr 7, 2020
v34.0.0 – v81.0.0
1%2%

Full Support

Edge
Unsupported
Edge does not support this feature.
Apr 13, 2020 – Latest
v81.0.0+

No Support, Feature Removed

Jan 15, 2020 – Apr 13, 2020
v79.0.0 – v81.0.0

Full Support

Firefox
Unsupported
Firefox does not support this feature.

No Support

Firefox for Android
Unsupported
Firefox for Android does not support this feature.

No Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

 
Quest Browser
Unsupported
Quest Browser does not support this feature.
Unknown – Latest
v9.0.0+

No Support, Feature Removed

Unknown
v5.0.0 – v9.0.0

Full Support

Opera
Unsupported
Opera does not support this feature.
Apr 22, 2020 – Latest
v68.0.0+

No Support, Feature Removed

May 6, 2014 – Apr 22, 2020
v21.0.0 – v68.0.0
0%21%

Full Support

Opera Android
Unsupported
Opera Android does not support this feature.
May 13, 2020 – Latest
v58.0.0+

No Support, Feature Removed

Apr 22, 2014 – May 13, 2020
v21.0.0 – v58.0.0

Full Support

Safari
Unsupported
Safari does not support this feature.

No Support

Safari on iOS
Unsupported
Safari on iOS does not support this feature.

No Support

Samsung Internet
Oct 17, 2014 v2.0.0
3%100%
100% of Samsung Internet users are running a supported version.
Oct 17, 2014 – Latest
v2.0.0+
3%100%

Full Support

WebView Android
Unsupported
WebView Android does not support this feature.
Apr 7, 2020 – Latest
v81.0.0+

No Support, Feature Removed

Sep 3, 2014 – Apr 7, 2020
v37.0.0 – v81.0.0

Full Support

Contribute