deeplinks.js allows people to easily link directly to any text selection on your website. Here's an example of what one of these links looks like. It's intended mostly for blogs and other such websites, but it's relatively agnostic to the environment it's running in. People can select text on the site as the normally would, and when they do, the fragment identifier (the thing that comes after the # in the URL) changes. If they want to share the text they have selected, they simply copy the URL and send it to someone. When that person visits the URL, the same text that was originally selected will be selected and scrolled into view.
Features
- Plug-and-play
- Updates will not break links to older URLs
- Subtle. It shouldn't get in the reader's way
- It's around 1.7kb gzipped right now
- Documentation available
- Examples included
Categories
LibrariesLicense
MIT LicenseFollow deeplinks.js
Other Useful Business Software
The fastest way to host, scale and get paid on WordPress
Lightning-fast hosting, AI-assisted site management, and enterprise payments all in one platform designed for agencies and growth-focused businesses.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of deeplinks.js!