PageSourceSearch

https://vietstock.vn/script/20nam/marketIndex?v=sveLIb10ygcXT6OD986QmCy_YzLh3ib_x3cnI_KxBZw1

js vietstock.vn collected 2026-09-24 09:25:30 UTC 4,073 bytes, 1 lines download raw bytes

1$(function(){function n(){$(window).width()>=1200&&vst.io.get("/_Partials/GetTopViewedindex",{topCount:5},function(i){i&&i.length&&t(i);setTimeout(n,3e4)})}function t(n){var i=$("#top-indexs"),h=['<div class="col-sm-4 col-ipa-3 col-md-3 col-lg-3 fr-index [CSS]" code="[CODE]">','<a href="[LINK]" class="pull-left seperate" target="_blank" rel="noopener" aria-label="index">','<div class="arr-index ">','<span class="glyphicon [CSS1]"><\/span>',"<\/div>","<\/a>",'<div class="pull-left">','<a href="[LINK]" target="_blank" rel="noopener" aria-label="index">',"<div>",'<span class="name-index p-r">[NAME]<\/span>','<div class="chart-index pull-right">','<img width="50" height="20" alt="chart" src="[SRC]" style="display:none">',"<\/div>","<\/div>",'<div class="cont-index">','<span class="price">[PRICE]<\/span>','<span class="price-change [CSS2]">[CHANGE]<\/span>','<span class="percent-change [CSS2]">[PERCHANGE]%<\/span>',"<\/div>","<\/a>","<\/div>","<\/div>"],u,r;if(i.find(".fr-index").length){let r="?ts="+(new Date).getTime();for(u=0;u<n.length;u++){var t=n[u],e="",o=changeIcon2(t.ColorId),s=checkColor(t.ColorId),f=i.find('[code="'+t.IndexCode+'"]');f.length&&(t.IndexCode=="VNIndex"?setTimeout(()=>{i.find('[code="VNIndex"]').find("img").attr("src",n[0].UrlImage+r)},1e3):t.IndexCode=="HNXINDEX"?setTimeout(()=>{i.find('[code="HNXINDEX"]').find("img").attr("src",n[1].UrlImage+r)},1500):t.IndexCode=="VN30"?setTimeout(()=>{i.find('[code="VN30"]').find("img").attr("src",n[2].UrlImage+r)},2e3):t.IndexCode=="XAUUSDO"?setTimeout(()=>{i.find('[code="XAUUSDO"]').find("img").attr("src",n[3].UrlImage+r)},2500):t.IndexCode=="CL"&&setTimeout(()=>{i.find('[code="CL"]').find("img").attr("src",n[4].UrlImage+r)},3e3),f.find("span.price").html(formater.number(t.LastPrice,"n2")),f.find("span.price-change").html(formater.number(t.Change,"n2")),f.find("span.percent-change").html(t.PerChange+"%"),f.find("a span.glyphicon").removeClass("glyphicon-triangle-top glyphicon-triangle-bottom arr-up arr-down glyphicon-stop arr-stop").addClass(o),f.find("span.price-change, span.percent-change").removeClass("color-up color-pink color-down color-blue color-orange").addClass(s))}}else{let f="?ts="+(new Date).getTime();for(u=0;u<n.length;u++){var t=n[u],e="",o=changeIcon2(t.ColorId),s=checkColor(t.ColorId);u==2?e="hidden-sm display-ipa":u>2&&(e="visible-lg");r=h.join("");r=r.replace(/\[CODE]/g,t.IndexCode).replace(/\[NAME]/g,t.IndexName).replace(/\[SRC]/g,"").replace(/\[PRICE]/g,t.LastPrice).replace(/\[CHANGE]/g,formater.number(t.Change,"n2")).replace(/\[PERCHANGE]/g,t.PerChange).replace(/\[CSS]/g,e).replace(/\[CSS1]/g,o).replace(/\[CSS2]/g,s);t.IndexCode=="VNIndex"?r=r.replace(/\[LINK]/g,"https://finance.vietstock.vn/ket-qua-giao-dich?tab=thong-ke-gia&exchange=1&code=-19"):t.IndexCode=="HNXINDEX"?r=r.replace(/\[LINK]/g,"https://finance.vietstock.vn/ket-qua-giao-dich?tab=thong-ke-gia&exchange=2&code=-18"):t.IndexCode=="VN30"?r=r.replace(/\[LINK]/g,"https://stockchart.vietstock.vn/?stockCode=VN30"):t.IndexCode=="XAUUSDO"?r=r.replace(/\[LINK]/g,"https://stockchart.vietstock.vn/?stockCode=XAUUSD"):t.IndexCode=="CL"&&(r=r.replace(/\[LINK]/g,"https://stockchart.vietstock.vn/?stockCode=CL"));i.append(r);t.IndexCode=="VNIndex"?setTimeout(()=>{i.find('[code="VNIndex"]').find("img").attr("src",n[0].UrlImage+f),i.find('[code="VNIndex"]').find("img").css("display","inline")},1e3):t.IndexCode=="HNXINDEX"?setTimeout(()=>{i.find('[code="HNXINDEX"]').find("img").attr("src",n[1].UrlImage+f),i.find('[code="HNXINDEX"]').find("img").css("display","inline")},1500):t.IndexCode=="VN30"?setTimeout(()=>{i.find('[code="VN30"]').find("img").attr("src",n[2].UrlImage+f),i.find('[code="VN30"]').find("img").css("display","inline")},2e3):t.IndexCode=="XAUUSDO"?setTimeout(()=>{i.find('[code="XAUUSDO"]').find("img").attr("src",n[3].UrlImage+f),i.find('[code="XAUUSDO"]').find("img").css("display","inline")},2500):t.IndexCode=="CL"&&setTimeout(()=>{i.find('[code="CL"]').find("img").attr("src",n[4].UrlImage+f),i.find('[code="CL"]').find("img").css("display","inline")},3e3)}}}n()})

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.