Browser Feature Identification using API check instead of Browser Version

Kunal Singh

Jan 27, 2025

if ('share' in navigator) {
console.log("navigator.share is supported!");
navigator.share({ title: "Check this out!", url: "https://example.com" });
} else {
console.log("navigator.share is not supported.");
}
+

Check my latest Blog Post

How to Publish Your First npm Package: Creating Rainbow Highlight with Utilities

Read Now
Oh My Gawwdd!!!!!!!

Wow you have been viewing my site since 20 seconds!

+
+