PageSourceSearch

https://www.irwebcasting.com/js/loglibem.js

js irwebcasting.com collected 2026-10-02 06:56:00 UTC 2,491 bytes, 82 lines download raw bytes

1var uuid="", i, random, tb=0.0;
2for (i=0;i<32;i++) {
3	random = Math.random() * 16 | 0;
4	if (i == 8 || i == 12 || i == 16 || i == 20) {uuid += "-";}
5	uuid += (i == 12 ? 4 : (i == 16 ? (random & 3 | 8) : random)).toString(16);
6}
7var spmode='';
8if ( ~location.pathname.indexOf('/sp/')) {
9	spmode = '1';
10}
11var screeninfo = screen.width + "x" + screen.height + ":" + screen.colorDepth;
12var langinfo = navigator.language;
13
14function logpush(a,n,m) {
15	var windowinfo = window.innerWidth + "x" + window.innerHeight;
16	var windowX = window.screenX
17	var windowY = window.screenY;
18	var windowfocs = document.hasFocus();
19	$.ajax({url:'https://log.irwebcasting.com/log?' + encodeURI(a) + '=' + encodeURI(n) + '&key=' + encodeURI((new Date()).getTime()) + '&p=' + encodeURI(location.pathname) + '&uuid=' + encodeURI(uuid) + '&m=' + encodeURI(m) + '&sp=' + encodeURI(spmode) + '&sc=' + encodeURI(screeninfo) + '&wn=' + encodeURI(windowinfo) + '&la=' + encodeURI(langinfo) + '&fc=' + encodeURI(windowfocs) + '&wx=' + encodeURI(windowX) + '&wy=' + encodeURI(windowY) + '&a=' + encodeURI(a),type:"GET",success:function(res) {}});
20}
21
22	setInterval(function(){
23		if(player.accessor.state=='playing') {
24			if(player.accessor.getCurrentTime() != tb) {
25				logpush('t',player.accessor.getCurrentTime(),player.accessor.getCurrentAPI());
26				tb=player.accessor.getCurrentTime();
27			}
28		}
29	},1000);
30
31$(".menu_item").click(function(e){
32console.log($(".menu_item").index(this));
33	try {
34		var m = player.accessor.getCurrentAPI();
35		logpush('i',$(".menu_item").index(this),m);
36	} catch(e) {
37	}
38});
39
40$(".menuList").click(function(e){
41	try {
42		var m = player.accessor.getCurrentAPI();
43		logpush('i',$(".menuList").index(this),m);
44	} catch(e) {
45	}
46});
47
48$(".slideList").click(function(e){
49	try {
50		var m = player.accessor.getCurrentAPI();
51		logpush('i',$(".slideList").index(this),m);
52	} catch(e) {
53	}
54});
55
56$("#slidePlay").click(function(e){
57	try {
58		var m = player.accessor.getCurrentAPI();
59		logpush('i',slide.current,m);
60	} catch(e) {
61	}
62});
63
64$(".slide_button_box .left_button").click(function(e){
65console.log(slide.current-1);
66        try {
67                var m = player.accessor.getCurrentAPI();
68                logpush('i',slide.current-1,m);
69        } catch(e) {
70        }
71});
72
73$(".slide_button_box .right_button").click(function(e){
74console.log(slide.current+1);
75        try {
76                var m = player.accessor.getCurrentAPI();
77                logpush('i',slide.current+1,m);
78        } catch(e) {
79        }
80});
81
82

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.