PageSourceSearch

https://www.tsn.ac.th/web/wp-content/themes/dsn/js/scripts.js?ver=1.0.0

js tsn.ac.th collected 2026-10-01 12:39:34 UTC 395 bytes, 16 lines download raw bytes

1// DOM Ready
2$(function() {
3	
4	// SVG fallback
5	// toddmotto.com/mastering-svg-use-for-a-retina-web-fallbacks-with-png-script#update
6	if (!Modernizr.svg) {
7		var imgs = document.getElementsByTagName('img');
8		var dotSVG = /.*\.svg$/;
9		for (var i = 0; i != imgs.length; ++i) {
10			if(imgs[i].src.match(dotSVG)) {
11				imgs[i].src = imgs[i].src.slice(0, -3) + "png";
12			}
13		}
14	}
15
16});

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.