All Projects → chunliu → sttf-url-generator

chunliu / sttf-url-generator

Licence: MIT License
A Chrome/Edge extension which generates a url with text fragment.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to sttf-url-generator

Dashboard
Custom your personal browser start page from some configurable components.
Stars: ✭ 619 (+837.88%)
Mutual labels:  edge-extension
Cookiejar
Cookiejar is a browser extension that removes article-limit restriction and paywall from sites like Medium, Technologyreview etc, thus allowing the reader with access to unlimited premium articles.
Stars: ✭ 24 (-63.64%)
Mutual labels:  edge-extension
searchprovider-for-browser-tabs
Browser tab search provider for GNOME
Stars: ✭ 21 (-68.18%)
Mutual labels:  edge-extension
d3coder
Chrome extension for encoding/decoding and hashing text on websites
Stars: ✭ 26 (-60.61%)
Mutual labels:  edge-extension
pocketizer
Unofficial Pocket new tab extension for Chrome, Firefox, and Edge
Stars: ✭ 43 (-34.85%)
Mutual labels:  edge-extension
xcloud-keyboard-mouse
Chrome extension for controlling Xbox Cloud Gaming (Project xCloud) using a keyboard and mouse
Stars: ✭ 78 (+18.18%)
Mutual labels:  edge-extension
chrome-extension-aspectratio219
🖥️ Fit the screen properly in fullscreen mode on monitor ultrawide with 21:9 aspect ratio (Netflix, Youtube, PrimeVideo, Crunchyroll)
Stars: ✭ 28 (-57.58%)
Mutual labels:  edge-extension
SyncMarks-Extension
Browser Webextension for Firefox, Edge or Chromium derivatives to sync your bookmarks with a private backend.
Stars: ✭ 23 (-65.15%)
Mutual labels:  edge-extension
edge-contextMenuSearch
Extension for MS Edge browser to provide search option in context menu for selected text
Stars: ✭ 13 (-80.3%)
Mutual labels:  edge-extension
szu-network-connecter
📡 针对深圳大学校园网有线连接与WIFI连接复杂的登录方式,给出一键快速登录解决方案的浏览器扩展插件
Stars: ✭ 29 (-56.06%)
Mutual labels:  edge-extension
ccsearch-browser-extension
[PROJECT TRANSFERRED] Cross-Browser extension to search, filter and use images in the public domain and under Creative Commons licenses.
Stars: ✭ 115 (+74.24%)
Mutual labels:  edge-extension
web-ext-deploy
A tool for deploying WebExtensions to multiple stores.
Stars: ✭ 28 (-57.58%)
Mutual labels:  edge-extension
url-incrementer
A web extension for Chrome, Edge, and Firefox. Increment a URL or go to the next page. Supports auto incrementing and advanced toolkit functions like scraping URLs.
Stars: ✭ 27 (-59.09%)
Mutual labels:  edge-extension
YuiAPI
一个浏览器API测试客户端,API文档生成器,支持chrome/firefox/新版edge
Stars: ✭ 25 (-62.12%)
Mutual labels:  edge-extension
SchoologyPlus
A web extension that enhances your Schoology experience with numerous interface improvements
Stars: ✭ 83 (+25.76%)
Mutual labels:  edge-extension
security.txt
ℹ️ Cross-platform browser extension for discovering security.txt and humans.txt files.
Stars: ✭ 15 (-77.27%)
Mutual labels:  edge-extension
auto-click-auto-fill
Auto Click Auto Fill on any web page
Stars: ✭ 111 (+68.18%)
Mutual labels:  edge-extension
page-shadow
A Chrome, Firefox, Opera and Edge extension to increase contrast, decrase brightness and invert color of websites
Stars: ✭ 14 (-78.79%)
Mutual labels:  edge-extension
briskine
Write faster with templates and keyboard shortcuts.
Stars: ✭ 88 (+33.33%)
Mutual labels:  edge-extension
favicon-detector
🌲 A simple way to detect website icons.
Stars: ✭ 24 (-63.64%)
Mutual labels:  edge-extension

Icon scroll-to-text-fragment url generator

build

A Chrome/Edge extension to generate the url with the scroll-to-text-fragment for the selected text. The extension will copy the url to the clipboard and open it in a new tab.

Get it from Chrome Web Store / Edge Add-ons

How to use it

how to use

How it works

The extension works in the following way.

  • Following the suggestion of the text fragments spec, when the selection of the text snippet has less than 300 characters, the url will be generated with exact matching.
  • If the text snippet has 300 or more characters, the url will be generated with range-based matching.
    • For range-based matching, the first 5 words of the text snippet will be used as textStart, and the last 5 words will be used as textEnd.

Note

  • According to the spec, the selection of the text snippet must adhere to the word boundaries. In another words, the selection needs to start from the beginning of the first word and end at the ending of the last word of the text snippet. If the selection starts or ends at a character in a word, the browser would not be able to find the matching accurately. With v1.3, the extension helps to snap the selection to word.
  • Due to the algorithm of finding ranges in a document, the selection of the text snippet should avoid crossing multiple "block-level" elements. For example, if a selection is across a <h2> and a <div>, the browser may not be able to scroll to the text fragment accurately.
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].