Skip to Content

JavaScript File

URL: http://xlib.info/js/services/boxBeforeClosingAdult.js?v=140
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Thu, 08 Jul 2021 05:26:35 GMT
Download Time: Less than a second
Cookies: None
Size: 1 KB
HTTP Headers:  10 headers
Links In:  6 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1setTimeout(function(){

2 document.querySelector('body').addEventListener('mousemove', o => {

3 //if(o.clientY < 2 && !1 === $(".box-before-closing .layout").is(":visible")) {

4 if(o.clientY < 2) {

5 var e = document.querySelector(".box-before-closing .popup.popup_vk");

6 var p = document.body.clientHeight / 2-e.offsetHeight / 2;

7 var t = document.body.clientWidth / 2-e.offsetWidth / 2;

8 e.style.top = p + 'px';

9 e.style.left = t + 'px';

10 e.style.visibility = 'visible';

11 document.querySelector('.box-before-closing .layout').style.display = 'block';

12 }

13 });

14},1e4);

15document.querySelector('.box-before-closing .close-it').addEventListener('click', e => {

16 document.querySelector('.box-before-closing .popup').style.left = '-9999px';

17 document.querySelector('.box-before-closing .popup').style.visibility = 'hidden';

18 document.querySelector('.box-before-closing .layout').style.display = 'none';

19});

20/*

21$(".post-ad").find("br").each(function(){

22 $(this).remove()

23});*/