All Projects → iafan → Linktoselection

iafan / Linktoselection

Licence: mit
Allow your website visitors to deep-link to any selected page content

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Linktoselection

Sonar Cxx
SonarQube C++ plugin (Community): This plugin adds C++ support to SonarQube with the focus on integration of existing C++ tools.
Stars: ✭ 649 (+12880%)
Mutual labels:  plugin
Tandem
Typing in Tandem. Decentralized, cross-editor, collaborative text-editing!
Stars: ✭ 678 (+13460%)
Mutual labels:  plugin
Ultisnips
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
Stars: ✭ 6,465 (+129200%)
Mutual labels:  plugin
Will paginate
Pagination library for Rails, Sinatra, Merb, DataMapper, and more
Stars: ✭ 5,621 (+112320%)
Mutual labels:  plugin
Vue Stripe
Stripe Checkout & Elements for Vue.js
Stars: ✭ 669 (+13280%)
Mutual labels:  plugin
Input Overlay
Show keyboard, gamepad and mouse input on stream
Stars: ✭ 684 (+13580%)
Mutual labels:  plugin
Vscode Plugin Demo
VSCode插件开发全攻略配套demo
Stars: ✭ 647 (+12840%)
Mutual labels:  plugin
Jquery.print
Easy to use, Element Printing Plugin for jQuery
Stars: ✭ 772 (+15340%)
Mutual labels:  plugin
Mediumlightbox
Nice and elegant way to add zooming functionality for images, inspired by medium.com
Stars: ✭ 671 (+13320%)
Mutual labels:  plugin
Nuxt Optimized Images
🌅🚀 Automatically optimizes images used in Nuxt.js projects (JPEG, PNG, SVG, WebP and GIF).
Stars: ✭ 717 (+14240%)
Mutual labels:  plugin
Scxcodeswitchexpander
Xcode plugin that enables switch cases autocompletion
Stars: ✭ 662 (+13140%)
Mutual labels:  plugin
Extcore
Free, open source and cross-platform framework for creating modular and extendable web applications based on ASP.NET Core
Stars: ✭ 666 (+13220%)
Mutual labels:  plugin
Wal2json
JSON output plugin for changeset extraction
Stars: ✭ 705 (+14000%)
Mutual labels:  plugin
Vim Vide
Lightest vimrc, while strong enough. 最轻的vim配置,却足够强!
Stars: ✭ 649 (+12880%)
Mutual labels:  plugin
Vue I18n
🌐 Internationalization plugin for Vue.js
Stars: ✭ 6,502 (+129940%)
Mutual labels:  plugin
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (+12880%)
Mutual labels:  plugin
Vue Progressive Image
Vue progressive image loading plugin
Stars: ✭ 684 (+13580%)
Mutual labels:  plugin
Iro.js
🎨 Modular color picker widget for JavaScript, with support for a bunch of color formats
Stars: ✭ 796 (+15820%)
Mutual labels:  plugin
Markdown Preview.vim
⚠️ PLEASE USE https://github.com/iamcco/markdown-preview.nvim INSTEAD
Stars: ✭ 764 (+15180%)
Mutual labels:  plugin
Gulp Htmlmin
Minify HTML
Stars: ✭ 720 (+14300%)
Mutual labels:  plugin

About LinkToSelection

Sometimes you want to share a link that points to a specific text on a page, or an image. This script, when plugged into a page, will do just that.

Upon selecting something on a page, you will see #sel:xxxxxxxxxxxx hash added to the page URL. Send the resulting link to someone else, and they will open the page with the same selection restored and scrolled into view.

Best Use Cases

Documentation: enabling selection sharing this on your documentation website will allow you to point others to specific phrases or words.

Reporting errors: your users can send you links to typos or other kinds of errors that they find on your website pages.

Demo

Try any of these links that point to a specific selected content on serge.io website:

Usage

Just put the LinkToSelection.min.js file to an appropriate folder of your website, e.g. /static/js/vendor/ and add the following script to the bottom of your web pages (before the closing </body> tag):

<script src="/static/js/vendor/LinkToSelection.min.js"></script>

Browser compatibility

LinkToSelection was tested in:

  • Desktop:
    • Chrome 48+
    • Firefox 44+
    • Edge 25+
    • Internet Explorer 11
  • iOS:
    • Safari
    • Chrome
  • Android:
    • Chrome
    • Firefox

Caveats

By their nature, links with encoded selection may not work if the other person who opens such a link sees a page with the different structure. This means that this script will work best on mostly static pages which are not password-protected and are not built on the fly from XHR requests.

The script may conflict with other scripts that use document.onselectionchange event handler or URL hash for their own purposes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].