PageSourceSearch

https://www.bsl.com.tr/jivosite/jivosite.js

js bsl.com.tr collected 2026-10-08 16:25:54 UTC 1,169 bytes, 37 lines download raw bytes

1
2/*
3	Callback function that is called immediately after JivoChat is loaded
4*/
5function jivo_onLoadCallback(){
6	// Create a DIV element for the label
7	window.jivo_cstm_widget = document.createElement('div');
8	jivo_cstm_widget.setAttribute('id', 'jivo_custom_widget');
9	document.body.appendChild(jivo_cstm_widget);
10	
11	// Adds handlers click on the icon - to maximize the window when clicked
12	jivo_cstm_widget.onclick = function(){
13		jivo_api.open();
14	}
15	
16	// Change the CSS class if there are agents online
17	if (jivo_config.chat_mode == "online"){
18		jivo_cstm_widget.setAttribute("class", "jivo_online");
19	}
20	
21	// Now you can show the user a shortcut
22	window.jivo_cstm_widget.style.display='block';
23}
24
25/*
26	Callback function jivo_onOpen and jivo_onClose called whenever the chat window JivoChat is expanded or collapsed by the user or by the proactive invitations rule.
27*/
28function jivo_onOpen(){
29	// If chat is deployed - hide shortcut
30	if (jivo_cstm_widget)
31		jivo_cstm_widget.style.display = 'none';
32}
33function jivo_onClose(){
34	// If chat is minimized - show label
35	if (jivo_cstm_widget)
36		jivo_cstm_widget.style.display = 'block';
37}

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.