PageSourceSearch

http://www.119fd.com/js/JSChat.js

js 119fd.com collected 2026-10-09 04:29:06 UTC 1,630 bytes, 35 lines download raw bytes

1
2function DoChatBoxClickGXH(Chatdomian,UID) {
3    var strUrlReferrer = location.href;
4    var curProtocol = window.location.protocol.split(':')[0];
5    var chatUrl = Chatdomian+'/Chat/ChatIndex/' + UID + '?Weburl=' + strUrlReferrer;
6    var u = navigator.userAgent;
7    if (!!u.match(/AppleWebKit.*Mobile.*/)) {
8        chatUrl = Chatdomian + '/Chat/MobileChatIndex/' + UID + '?Weburl=' + strUrlReferrer;
9    }
10    OpenChatBoxGXH(chatUrl);
11}
12function OpenChatBoxGXH(url) {
13                var iHeight = 698;
14                var iWidth = 980;
15
16                if (window.screen.availWidth >= 1920) {
17                    iWidth = 980;
18                    iHeight = 740;
19                }
20                else if (window.screen.availWidth > 1599 && window.screen.availWidth < 1920) {
21                    iWidth = 790;
22                    iHeight = 620;
23                }
24                else if (window.screen.availWidth > 1439 && window.screen.availWidth < 1600) {
25                    iWidth = 710;
26                    iHeight = 620;
27                }
28                else if (window.screen.availWidth > 1365 && window.screen.availWidth < 1440) {
29                    iWidth = 670;
30                    iHeight = 530;
31                }
32    var iTop = (window.screen.availHeight - 30 - iHeight) / 2; //»ñµÃ´°¿ÚµÄ´¹Ö±Î»ÖÃ;
33    var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; //»ñµÃ´°¿ÚµÄˮƽλÖÃ;
34    window.open(url, '_blank', 'height=' + iHeight + ', width=' + iWidth + ', top=' + iTop + ', left=' + iLeft + ', toolbar=no, menubar=no, scrollbars=no,resizable=no, location=no, status=no');
35}

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.