Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8196399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:27:49+00:00 2026-06-07T05:27:49+00:00

How can I decode this JS? I know what it does (checked it with

  • 0

How can I decode this JS? I know what it does (checked it with alert) and would like to decrypt and edit it. How can I do it?

What type of encryption is this? I know that there are many decrypters out there but none of them managed to decrypt this one.

BTW I am a newbie.

function xViewState() {
    var a = 0,
        m, v, t, z, x = new Array('9091968376', '8887918192818786347374918784939277359287883421333333338896', '877886888787', '949990793917947998942577939317'),
        l = x.length;
    while (++a <= l) {
        m = x[l - a];
        t = z = '';
        for (v = 0; v < m.length;) {
            t += m.charAt(v++);
            if (t.length == 2) {
                z += String.fromCharCode(parseInt(t) + 25 - l + a);
                t = '';
            }
        }
        x[l - a] = z;
    }
    document.write('<' + x[0] + ' ' + x[4] + '>.' + x[2] + '{' + x[1] + '}</' + x[0] + '>');
}
xViewState();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T05:27:50+00:00Added an answer on June 7, 2026 at 5:27 am

    This isn’t encryption, it’s obfuscation. Now you know what it writes out, lose the obfuscation and just write out what you want instead…

    document.write('<style undefined>.yourstylename{position:absolute;top:-9999px}</style>');
    

    The obfuscation works by simply listing the ASCII codes for everything involved, offset by about 20 (varies per array element), represented as a 2 digit decimal number. It’s very basic.

    Thus:

    "style"
    -> 115, 116, 121, 108, 101 (ASCII codes)
    -> 90, 91, 96, 83, 76 (offset of 25 in this case)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know the name of a codec that can translate any random assortment
I would like to know if I can encrypt a string inside a compiled
I can't seem to decode this base64 string which is in the footer of
this article suggests you can use Color c = Color.decode(FF0096); however this understandably throws
How can I use Speex to encode/decode from within python? Are there any wrappers?
I have a gzipped base64 JSON string, after converting this string json_decode() can't decode
Possible Duplicate: Got Hacked - Anyone know what this PHP Code Does? I just
I'm trying to retrieve data from a JSON object that looks like this: stdClass
I am using Firefox, but I'd like to know how browsers decide this in
First, this isn't a question about precision or anything like that. My question is,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.