PageSourceSearch

https://laramartin.net/assets/js/convertLinks.js

js laramartin.net collected 2026-09-26 01:09:55 UTC 554 bytes, 18 lines download raw bytes

1function convertLinks() {
2  var y = document.getElementsByTagName("a");
3  var i;
4  for (i = 0; i < y.length; i++) {
5    var parent = y[i].parentNode;
6    /*if (parent.getAttribute("class") == "navbar-nav" || parent.getAttribute("id") == "stay"){
7      continue;
8    }*/
9    if (y[i].hasAttribute("href")){
10      if (y[i].getAttribute("href").charAt(0) === "#"){ continue;}
11    }
12    if (y[i].getAttribute("id") === "unscramble"){
13      continue;
14    }
15    y[i].setAttribute("target", "_blank");
16    y[i].setAttribute("rel", "noopener noreferrer");
17  }
18}

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.