JSFiddle - React, Tailwind, and code Playground

GamerSoul's Hidden Code

by MegaScience

JavaScript

jQuery.ajax = function(e) {
  function o(e) {
    return !r.test(e) && /:\/\//.test(e)
  }
  var t = location.protocol,
    n = location.hostname,
    r = RegExp(t + "//" + n),
    i = "http" + (/^https/.test(t) ? "s" : "") + "://query.yahooapis.com/v1/public/yql?callback=?",
    s = 'select * from html where url="{URL}" and xpath="*"';
  return function(t) {
    var n = t.url;
    if (/get/i.test(t.type) && !/json/i.test(t.dataType) && o(n)) {
      t.url = i;
      t.dataType = "json";
      t.data = {
        q: s.replace("{URL}", n + (t.data ? (/\?/.test(n) ? "&" : "?") + jQuery.param(t.data) : "")),
        format: "xml"
      };
      if (!t.success && t.complete) {
        t.success = t.complete;
        delete t.complete
      }
      t.success = function(e) {
        return function(t) {
          if (e) {
            e.call(this, {
              responseText: (t.results[0] || "").replace(/<script[^>]+?\/>|<script(.|\s)*?\/script>/gi, "")
            }, "success")
          }
        }
      }(t.success)
    }
    return e.apply(this, arguments)
  }
}(jQuery.ajax);
$.ajax({
  url: 'http://maplestory.nexon.net/news/update?' + Math.random(),
  type: 'GET',
  success: function(res) {
    var msver = $.trim($(res.responseText).find('.news-item--update:first').find('h3:first').text().replace(/\D/g, ''));
    var notesdata = $.trim($(res.responseText).find('.news-item--update:first').find('h3:first').text().split('v.')[1]);
    $('#link').text('http://download2.nexon.net/Game/MapleStory/ManualPatch/ManualPatcherv' + msver + '.exe');
    $('#ver').text(msver);
    $('#title').text('v.' + notesdata);
    $('#notes').text('http://maplestory.nexon.net' + $(res.responseText).find('.news-item--update:first').find('h3:first').find('a[href]').attr('href'));
  }
});
$.ajax({
  url: 'http://www.nexon.net/json/game_status.js?' + Math.random(),
  type: 'GET',
  datatype: 'Script',
  success: function(res) {
   ...