PageSourceSearch

https://js2.rtve.es/js/ultima-noticia/refresco.js

js rtve.es collected 2026-09-24 06:48:18 UTC 998 bytes, 27 lines download raw bytes

1(function() {
2  require.config({
3    "paths": {
4      "jquery": "//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min"
5    }
6  });
7  require(["jquery"], function($) {
8    if (!(navigator.userAgent.indexOf("AdobeAIR") > 0)) {
9      $(document).ready(function() {
10        setInterval(function() {
11          $('.reload').load('/components/ultima-noticia.inc span.reload > div');
12          $.get('/components/ultima-noticia.inc', function(noticia) {
13            let regTextSize = /txtsize_0[3-6]/g;
14            let nuevaClase = noticia.match(regTextSize);
15            if (nuevaClase[0] !== undefined) {
16              let clasesArticle = $('#tamanio').attr('class');
17              if (clasesArticle !== undefined) {
18                let claseABorrar = clasesArticle.match(regTextSize);
19                $('#tamanio').removeClass(claseABorrar[0]).addClass(nuevaClase[0]);
20              }
21            }
22          })
23        }, 10000);
24      });
25    } //if adobeair
26  });
27})();

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.