Web extension that creates QR codes that highlight and scroll to your current selection when scanned.
FragmentQR is a Chrome extension that swiftly shares just the relevant parts of a webpage by generating QR codes from your selection, as a text fragment.
Report a bug: bit.ly/fragmentQR-newIssue
Rate it: bit.ly/fragmentQR-Rate
What does FragmentQR do?
FragmentQR provides you the ability to select only the important text on a webpage, and convey this to anyone through a simple select text to select a text fragment, Ctrl/⌘ + ⇧ + L to copy the text fragment, Ctrl/⌘ + Q to open the extension popup, and a click the 📋 to paste the link into the textbox to generate a QR code. When someone scans that QR, the text fragment will be detected when they load the webpage, and your selection will scroll📜⇅ into view and be highlighted🟨, to emphasize that part of the page.
In short, you can select any given text on a webpage and copy it as a text fragment to generate a QR code for sharing just the essential component of your webpage.
Currently Scroll to text fragment only works on these platform and browsers:
✔Android: Chrome for Android 85+
✔Mac, ✔Windows, and ✔Linux: Any Chromium 80+ browser
❌iOS: Coming soon. When available it will be on the latest release of Chrome for iOS powered by Apple WebKit
(more details on supported platforms later)
What are Text Fragments?
Actual definition: Part of a URL that specifies a piece of text emphasized on page load and scrolled into view, not unlike a text anchor.
"Text Fragments let you specify a text snippet in the URL fragment. When navigating to a URL with such a text fragment, the browser can emphasize and/or bring it to the user's attention." -web.dev
https://en.wikipedia.org/wiki/Probability_distribution#cite_ref-:1_3-0:~:text=Examples %20of%20random%20phenomena%20include%20the, the%20results%20of%20a%20survey%2C%20etc.%5B4%5D
In Chromium 80+, this feature is known as Scroll-to-Text Fragment.
Throughout this description the terms "scroll-to-text fragment" and "text fragments" will be used interchangeably.
To learn how to QR encode text fragments using FragmentQR, read the instructions below:
2️⃣Ctrl/⌘ + ⇧ + L to copy the text fragment. your selected text fragment should be highlighted in yellow.
3️⃣Ctrl/⌘ + Q to open the extension popup
4️⃣Click the paste button
Scan it on your mobile device or just share the link from your clipboard for that particular text to be scrolled into view and highlighted in yellow for the person you shared it with.
And you are done🎉
If steps 1 or 2 do not work, go to chrome://extensions/configureCommands to reconfigure the shortcuts
What browsers/platforms are compatible with Text Fragments?
Browsers per platform required to use text fragments are defined in the table below. I would like to point out that Chromium 80 is the bear minimum for all devices to use text fragments with the intended functionality.
OS | Minimum Browser Version
________________________ | _______________________________
Android 5.5 or later | Chrome 85, Android WebView 81
Windows 7 or later | Chromium 80
Mac OS X 10.10 or later | Chromium 80
Check current status: http://bit.ly/canIuseFragQR
I scanned the QR code on my iPhone and nothing happened! What gives?
That feature of scroll to text fragment is not available on iOS yet. Since Chrome for iOS is powered by Apple WebKit as opposed to Blink, this feature will surface only if Apple allows it. Unfortunately Apple only had a neutral stance on integration of text fragments in Safari😞, logically, it is unlikely text fragments will roll out to Chrome for iOS soon.
Other Browsers Opinion on Text Fragments:
Web Developers: 😀
Issues and Changelog:
QR does not update automatically when typing #5
Workarounds: Click the copy button, then click the paste button when updating the QR code
Fix issue when system theme is set to light
New icon and name changes to FragmentQR
Paste button now works.
Vast UI and functionality improvements
Added support for copying text framents
Added keyboard shortcuts
Light theme(currently does not save between sessions)
TODO in the unforeseeable future
✖add keyboard shorcut to open popup with link to text fragment as a placeholder in the textarea
Boldly link where no one has linked before: Text Fragments:
Dialogue between web developers at companies such as Google, Mozilla, Microsoft, and Apple disputing over text fragments:
The way this extension selects text fragments is based on Google's Link to text fragment Chrome extension: https://chrome.google.com/webstore/detail/link-to-text-fragment/pbcodcjpfjdpcineamnnmbkkmkdpajjg?hl=en
© 2020 MIT license Yonah Aviv.