PageSourceSearch

https://openrefine.org/js/fix-location.js

js openrefine.org collected 2026-09-24 08:32:28 UTC 447 bytes, 8 lines download raw bytes

1/*
2 * when trailing slashes are added to URLs, this breaks internal links.
3 * This is a fix for this issue taken from:
4 * https://github.com/facebook/docusaurus/issues/2394#issuecomment-630638096
5 */
6if (window && window.location && window.location.pathname.endsWith('/') && window.location.pathname !== '/') {
7  window.history.replaceState('', '', window.location.pathname.substr(0, window.location.pathname.length - 1) + window.location.hash)
8}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.