PageSourceSearch

https://stellenmarkt.wuv.de/api/js/jwtpljslib.trid-0.2.js?cb=b68592391ca08696051551e9002c536d

js wuv.de collected 2026-09-24 15:17:15 UTC 5,618 bytes, 148 lines download raw bytes

1'use strict';
2var JwTplJsLibTrid = (function(){
3	var
4		appName = 'JwTplJsLibTrid',
5		_api = false;
6
7	if (typeof JwTplJsLib == "object") {
8		_api = JwTplJsLib;
9	}
10
11	if(_api !== false) {
12		return {
13			initTrid: function(){
14				_api.printInfoMsg(".trid loaded");
15				
16				if (window.location.hostname.indexOf('localhost') == -1 && window.location.hostname.indexOf('127.0.0.1') == -1 && window.location.hostname.indexOf('hockenheim.jw.dir') == -1) {
17					let
18						jobad = _api.get('.jwtpl-jobad-blockIsLiquid1'),
19						rawmode = _api.get('.jwtpl-jobad-blockIsRawMode1'),		
20						isRawMode = rawmode.length > 0 ? true : false,									
21						isHybrid = jobad.length > 0 ? true : false,
22						mixedElement = isHybrid ? jobad : isRawMode ? rawmode : false ;
23				
24					if((isHybrid === true || isRawMode === true) && (mixedElement !== false)) {
25						_api.printInfoMsg(".trid() -> hybrid");
26						if(mixedElement[0].hasAttribute('data-jwtpl-jobad-tk') === true){
27							let key = mixedElement[0].getAttribute('data-jwtpl-jobad-tk');
28							if(key.length > 0) {
29								
30								 window.yi||(function(){
31							        var borderToken,firstScript,rand,script;
32							        rand=new Date().getTime().toString(36)+(Math.random().toString(36).substring(1,12));
33							        borderToken=sessionStorage.getItem('borderToken') || rand;
34							        sessionStorage.setItem('borderToken',borderToken);
35							        window.yi={
36							            k:key,
37							            c: _api.getProjectPath(),
38							            b:borderToken,
39							            m:rand,
40							            t:Date.now()};
41							        script=document.createElement('script');
42							        script.src=window.yi.c+"callback/auth/static/js/auth.min.js?v=" + Math.floor(new Date().getTime()/864e5);
43							        script.async=true;
44							        firstScript=document.getElementsByTagName('script')[0];
45							        return firstScript.parentNode.insertBefore(script,firstScript);
46							    })();
47
48								window.onload = function() {
49							//		window.yi.fInitAdv(key);
50								}
51								
52								var trids = document.querySelectorAll('[data-jwtpl-sys-trid]');
53
54								if ((typeof yi !== 'undefined') && (typeof yi.fPageview !== 'undefined')) {
55									if (trids.length > 0) {
56										for (var i = 0; i < trids.length; i++) {
57											var trid = trids[i];
58											if (trid.hasAttribute('data-jwtpl-sys-trid') === true) {
59												trid.addEventListener('click',function(e) {
60													var tridValue = this.getAttribute('data-jwtpl-sys-trid');
61													if (typeof tridValue !== "undefined" && tridValue !== '') {
62														yi.fNotify('event', e.type, tridValue, '');
63													}
64												});
65											}
66										}
67									}
68								}
69							}
70						}
71					
72					} else {
73						_api.printInfoMsg(".trid() -> no hybrid");
74						
75						window.yi || (function() {
76							var borderToken, firstScript, rand, script;
77							rand = new Date().getTime().toString(36) + (Math.random().toString(36).substring(1, 12));
78							borderToken = sessionStorage.getItem('borderToken') || rand;
79							sessionStorage.setItem('borderToken', borderToken);
80							window.yi = {
81								k : "4ztcj9",
82								c : window.location.protocol + "//" + window.location.hostname,
83								b : borderToken,
84								m : rand,
85								t : Date.now()
86							};
87							script = document.createElement('script');
88							script.src = window.yi.c + "/callback/auth/static/js/auth.min.js?v=" + Math.floor(new Date().getTime() / 864e5);
89							script.async = true;
90							firstScript = document.getElementsByTagName('script')[0];
91							return firstScript.parentNode.insertBefore(script, firstScript);
92						})();
93
94						window.yi.fNotify = function(category, action, label, event) {
95							var request = new window.XMLHttpRequest();
96							request.open("POST", window.yi.c + '/callback/auth/context/notify/v1.0', !0);
97							request.withCredentials = !0;
98							request.setRequestHeader("Content-Type", "application/json");
99							request.send(JSON.stringify({
100								"borderKey" : window.yi.b,
101								"unique" : sessionStorage.getItem('advToken'),
102								"timestamp" : Date.now(),
103								"category" : category,
104								"action" : action,
105								"label" : label
106							}))
107						};
108						
109						window.yi.fPageview = function() {
110							var url = window.location.href;
111							var request = new window.XMLHttpRequest();
112							request.open("POST", window.yi.c + '/callback/auth/context/pageview/v1.0', !0);
113							request.withCredentials = !0;
114							request.setRequestHeader("Content-Type", "application/json");
115							request.send(JSON.stringify({
116								"borderKey" : window.yi.b,
117								"timestamp" : Date.now(),
118								"href" : url
119							}))
120						};
121						
122						var trids = document.querySelectorAll('[data-jwtpl-sys-tri
122d]');
123						if ((typeof yi !== 'undefined') && (typeof yi.fPageview !== 'undefined')) {
124							if (trids.length > 0) {
125								for (var i = 0; i < trids.length; i++) {
126									var trid = trids[i];
127									if (trid.hasAttribute('data-jwtpl-sys-trid') === true) {
128										trid.addEventListener('click',function(e) {
129											var tridValue = this.getAttribute('data-jwtpl-sys-trid');
130											if (typeof tridValue !== "undefined" && tridValue !== '') {
131												yi.fNotify('event', e.type, tridValue, '');
132											}
133										});
134									}
135								}
136							}
137						}
138					}
139				}
140			}
141		}
142	} else {
143		return {
144			initTrid: function(){ return false; }
145		}
146	}
147})();
148

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.