As the polyfill uses the window’s selection to highlight the target(s), this only works in Firefox, as other browsers do not support selections having multiple ranges.
Moves window.location.fragmentDirective to document.fragmentDirective
Based on the Text Fragments draft spec version of 12 Aug 2020.