Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

215
Views
How to identify minified code in javascript?

I read a post stating how does Javascript gets compiled to machine code

Why does JavaScript get compiled to machine code?

My problem is I have multiple javascript files ending with .js and how can I differentiate machine code also with .js ending and normal .js source code ?

For example, machine code in javascript file ending with .js would look like this

 Copyright FusionCharts Technologies LLP
 License Information at <http://www.fusioncharts.com/license>
 @version 3.12.0
*/
(function(sb,Nb){"object"===typeof module&&module.exports?module.exports=sb.document?Nb(sb):function(N){if(!N.document)throw Error("Window with document not present");return Nb(N,!0)}:sb.FusionCharts=Nb(sb,!0)})("undefined"!==typeof window?window:this,function(sb,Nb){"undefined"===typeof sb&&"object"===typeof window&&(sb=window);var N=function(b){if(b.FusionCharts&&b.FusionCharts.version)return b.FusionCharts;var z=b.document,G=b.navigator,v={window:b},F=v.modules={},E=v.interpreters={},t=Object.prototype.toString,
a=/msie/i.test(G.userAgent)&&!b.opera,Q=/loaded|complete/,r=!1,P=function(){var a=v.ready;v.ready=!0;v.raiseEvent&&(v.readyNotified=!0,v.raiseEvent("ready",{version:v.core.version,now:!a},v.core));v.readyNow=!a},T=function(a,b){var B,m;if(b instanceof Array)for(B=0;B<b.length;B+=1)"object"!==typeof b[B]?a[B]=b[B]:("object"!==typeof a[B]&&(a[B]=b[B]instanceof Array?[]:{}),T(a[B],b[B]));else for(B in b)"object"===typeof b[B]?(m=t.call(b[B]),"[object Object]"===m?("object"!==typeof a[B]&&(a[B]={}),T(a[B],
b[B])):"[object Array]"===m?(a[B]instanceof Array||(a[B]=[]),T(a[B],b[B])):a[B]=b[B]):a[B]=b[B];

How can I write a script to differentiate it from normal .js source code?

Any suggestion is appreciated.

EDIT -

Thank you for your response that this is minified code. I have a list of web apps produced by non-expert programmers. I am trying to programmatically identify the minified code located in the web applications' code bases. My goal is to run some analytics on the code. E.g. how similar the web apps are

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!