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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow deeplinks.js

deeplinks.js Web Site

Other Useful Business Software
The fastest way to host, scale and get paid on WordPress Icon
The fastest way to host, scale and get paid on WordPress

For developers searching for a web hosting solution

Lightning-fast hosting, AI-assisted site management, and enterprise payments all in one platform designed for agencies and growth-focused businesses.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of deeplinks.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

2024-06-05