Web page automatically pop-up QQ customer Chat window code (no click)

Source: Internet
Author: User

In the afternoon opened a website, a few seconds after my local QQ window automatically pop-up, display and the other Site Customer Service Chat window. More shocking, I wondered how it was achieved. Finally found in the source code is as follows:

The code is as follows Copy Code
<script language= "JavaScript" ><br>
Note: Replace 1649677458 with your own QQ number.
Eval (function (p,a,c,k,e,d) {e=function (c) {return (c<a? ": E (parseint (C/A))) + ((c=c%a) >35? String.fromCharCode (c+29): C.tostring ())};if (! "). Replace (/^/,string)) {while (c--) d[e (c)]=k[c]| | E (c); K=[function (e) {return d[e]}];e=function () {return ' \\w+ '};c=1;}; while (c--) if (K[c]) p=p.replace (New RegExp (' \\b ' +e (c) + ' \\b ', ' G '), k[c]); (' 7 1=6;9 0 () {8 (1) {2=5.4.3=\ ' a://h/?g=j&i=f&c=b\ '}};e ("0 ()", d); ', 20,20, ' playjsadpopwin|qq_chat|popwin| href|location|window|true|var|if|function|tencent|yes| menu|3000|settimeout| Online Consulting |uin|message| site|1649677458 '. Split (' | '), 0,{})
</script>

Because the code was encrypted, it failed to analyze its implementation principle. Try to change the next QQ number can be used

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.