PageSourceSearch

https://saltflats.co/plugins/folder-title-link/folder-title-link.js

js saltflats.co collected 2026-10-05 20:08:38 UTC 573 bytes, 10 lines download raw bytes

1function createLinkForSub(parentElem, linkSub, textSub){
2    var stringLink = '<a href="'+linkSub+'">'+textSub+'</a>';
3   parentElem.insertAdjacentHTML('afterbegin', stringLink);
4  }
5  document.querySelectorAll('.header-nav-item--folder').forEach(function(buttonLoop) {
6buttonLoop.classList.add('custom-folder');
7    var currentLink = buttonLoop.querySelectorAll('.header-nav-folder-title')[0].getAttribute('href');
8    var currentText = buttonLoop.querySelectorAll('.header-nav-folder-title')[0].textContent;
9    createLinkForSub(buttonLoop, currentLink, currentText);
10});

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.