codegurukool.com · Free coding tutorials & online compiler

Home › JavaScript Tutorial › JS web APIs

JS web APIs

Browser features you can call.

Beyond the DOM, browsers offer IntersectionObserver, Clipboard, Geolocation, Notifications, Web Storage, URL and FormData. Check support before using one.

Example code

<pre id='o'></pre>
<script>
const u=new URL('https://site.com/a?x=1&y=2');
o.textContent=[u.hostname,u.searchParams.get('y'),'IntersectionObserver' in window,'clipboard' in navigator].join('\n');
</script>

Run this code in the online editor

← JS JSONJS Temporal →