PageSourceSearch

https://portalidea.com.br/assets/js/jesus-script/versiculo-aleatorio.js

js portalidea.com.br collected 2026-09-24 12:22:56 UTC 764 bytes, 18 lines download raw bytes

1(function () {
2  var el = document.getElementById('versiculo-biblico');
3  if (!el) return;
4  var url = el.getAttribute('data-json-url') || '/data/salmos.json';
5  fetch(url)
6    .then(function (r) { return r.ok ? r.json() : Promise.reject(); })
7    .then(function (salmos) {
8      if (!Array.isArray(salmos) || salmos.length === 0) return;
9      var salmo = salmos[Math.floor(Math.random() * salmos.length)];
10      var versiculos = salmo.versiculos;
11      if (!versiculos || versiculos.length === 0) return;
12      var v = versiculos[Math.floor(Math.random() * versiculos.length)];
13      var texto = v.texto || '';
14      var ref = 'Salmo ' + salmo.salmo + ':' + v.numero;
15      el.textContent = '"' + texto + '" — ' + ref;
16    })
17    .catch(function () {});
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.