Get the selected text
Copy text to clipboard with JavaScript
JavaScript to test if WebAssembly is supported
Save Canvas to Image
Smooth-scroll element into view
Handle click outside the element
Toggle full-screen mode
Check the preferred language of the current user
Check the preferred color scheme of the user
Check if the device supports touch events
Check if a element is within view
Detecting whether an element is partially or full visible
Queries whether or not the document is allowed to use camera API by the Permissions Policy
When a user has left the page
Keep a page’s state synced across different tabs and windows to enhance user experience or for security reasons
Remove all the events bind to a button(intrinsic listeners are preserved)
Remove all the events using abortController
Apply tailwind styles by CSS selectors
Check JS value types
Generate a random Id
Get the current scroll position