kibioctet

JvCare

Dec 28th, 2021
1,133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var _BaseClassName = "JvCare";
  2. jsli = {
  3.     getElementsByClassName: function(e) {
  4.         if (!document.getElementsByClassName) {
  5.             var t = new Array,
  6.                 n = document.getElementsByTagName("span");
  7.             for (i = 0; i < n.length; i++) {
  8.                 var r = n[i].className.split(" ");
  9.                 for (j = 0; j < r.length; j++) r[j] === e && (t[t.length] = n[i])
  10.             }
  11.             return t
  12.         }
  13.         return document.getElementsByClassName(e)
  14.     },
  15.     LocalIterations: 0,
  16.     SpansTransform: 0,
  17.     IterationsVides: 0,
  18.     IsRunning: !1,
  19.     Transformation: function() {
  20.         jsli.IsRunning = !0;
  21.         try {
  22.             var e = this.getElementsByClassName(_BaseClassName),
  23.                 t = e.length,
  24.                 n = "0A12B34C56D78E9F",
  25.                 r = "charset,name,rel,rev,target,accesskey,id,style,tabindex,title".split(","),
  26.                 i = "blur,click,dblclick,focus,mousedown,mousemove,mouseover,mouseup,keydown,keyppress,keyup".split(","),
  27.                 s, o = "",
  28.                 u, a, f = null,
  29.                 l, c, h, p, d = 0,
  30.                 v = t;
  31.             while (v--) {
  32.                 u = e[v], p = u.className.indexOf(" "), d = u.className.indexOf(" ", p + 1), d === -1 && (d = u.className.length), o = "";
  33.                 if (p > 0) {
  34.                     s = u.className.substr(p + 1, d - p - 1);
  35.                     for (h = 0; h < s.length; h += 2) l = n.indexOf(s.charAt(h)), c = n.indexOf(s.charAt(h + 1)), o += String.fromCharCode(l * 16 + c)
  36.                 }
  37.                 a = "xXx " + u.className.substr(d + 1, u.className.length - d - 1), f = document.createElement("a"), f.href = o, h = r.length;
  38.                 while (h--) try {
  39.                     p = r[h];
  40.                     if (d = u.getAttribute(p)) f[p] = d
  41.                 } catch (m) {}
  42.                 h = i.length;
  43.                 while (h--) try {
  44.                     p = i[h];
  45.                     if (d = u["on" + p]) f.addEventListener ? f.addEventListener(p, d, !1) : f.attachEvent && f.attachEvent("on" + p, d)
  46.                 } catch (m) {}
  47.                 f.className = a, h = u.childNodes.length;
  48.                 while (h--) f.appendChild(u.childNodes[0]);
  49.                 u.parentNode.insertBefore(f, u), u.parentNode.removeChild(u)
  50.             }
  51.         } catch (m) {}
  52.         jsli.LocalIterations++, jsli.SpansTransform += t, jsli.SpansTransform > 0 && t == 0 && document.body && jsli.IterationsVides++, jsli.IterationsVides < 5 ? setTimeout("jsli.Transformation()", 200) : jsli.IsRunning = !1
  53.     }
  54. }, jsli.Transformation();
Advertisement
Add Comment
Please, Sign In to add comment