edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: edbrowse-dev@edbrowse.org
Subject: [edbrowse-dev] ugliest code ever
Date: Mon, 09 Sep 2019 06:16:28 -0400	[thread overview]
Message-ID: <20190809061628.eklhad@comcast.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

You thought minimized javascript looked like dog vomit - well imagine this.
Minimize the code, then reexpand it using long awkward and pointless variable names.
This is the section I'm trying to debug.

                for (var _0x9247e4 = 0, _0x3893d3 = _0x525f46['length']; _0x9247e4 < _0x3893d3; _0x9247e4++) {trace@(a45)
                    var _0x39f51f = _0x525f46[_0x9247e4];
                    _0x42817f += '; ' + _0x39f51f;
                    trace@(a46)var _0x3ec78e = _0x525f46[_0x39f51f];
                    _0x525f46['push'](_0x3ec78e);
                    _0x3893d3 = _0x525f46['length'];
                    if (_0x3ec78e !== !![]) {trace@(a47)
                        _0x42817f += '=' + _0x3ec78e;
                    }
                }

Karl Dahlke

             reply	other threads:[~2019-09-09 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-09 10:16 Karl Dahlke [this message]
2019-09-10  0:29 ` Kevin Carhart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190809061628.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=edbrowse-dev@edbrowse.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).