ورود

View Full Version : کد کردن فایل ها JS



romiran90
جمعه 02 تیر 1391, 22:53 عصر
با سلام

دوستان من می خواستم بدونم چطور می تونم یک فایل JS را رمزگذاری و کد کنم
به صورتی که دی کد نشه؟؟

مثل این کد:
آیا میشه ای فایل رو رمزگشایی کرد؟؟

http://1abzar.ir/abzar/tools/contact-form/v2/files/jquery.js

============================================

بخشی از فایل:

(function(E,A){function U(){return false}function ba(){return true}function ja(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ga(a){var b,d,e=[],f=[],h,k,l,n,s,v,B,D;k=c.data(this,this.nodeType?"events":"__events__");if(typeof k==="function")k=k.events;if(!(a.liveFired===this||!k||!k.live|| a.button&&a.type==="click")){if(a.namespace)D=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var H=k.live.slice(0);for(n=0;n<H.length;n++){k=H[n];k.origType.replace(X, "")===a.type?f.push(k.selector):H.splice(n--,1)}f=c(a.target).closest(f,a.currentTarget);s=0;f or(v=f.length;s<v;s++){B=f[s];for(n=0;n<H.length;n++){k=H[n];if(B.selector===k.selector&&(!D||D.test(k.namespace))){l=B.elem;h=null;if(k.pr eType==="mouseenter"||k.preType==="mouseleave"){a.type=k.preType;h=c(a.relatedTarget).closest(k. selector)[0]}if(!h||h!==l)e.push({elem:l,handleObj:k,level:B.l evel})}}}s=0;for(v=e.length;s<v;s++){f=e[s];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj. data; a.handleObj=f.handleObj;D=f.handleObj.origHandler. apply(f.elem,arguments);if(D===false||a.isPropagat ionStopped()){d=f.level;if(D===false)b=false}}retu rn b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(Ha,"`").replace(Ia,"&")}function ka(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d}) ;else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Ja.test(b))return c.filter(b, e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function la(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var k in e[h])c.event.add(this,h,e[h][k],e[h][k].data)}}})}function Ka(a,b){b.src?c.ajax({url:b.src,async:false,dataTy pe:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML ||"");b.parentNode&&b.parentNode.removeChild(b)} function ma(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?La:Ma,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a,"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function ca(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Na.test(a)?e(a, h):ca(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)? e(a,""):c.each(b,function(f,h){ca(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(na.concat.apply([],na.slice(0,b)),function(){d[this]=a});return d}function oa(a){if(!da[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";da[a]=d}return da[a]}function ea(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.pa rentWindow:false}var u=E.document,c=function(){function a(){if(!b.isReady){try{u.documentElement.doScroll("left")}catch(i){setTimeout(a, 1);return}b.ready()}}var b=function(i,r){return new b.fn.init(i,r)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,k=/\S/,l=/^\s+/,n=/\s+$/,s=/\W/,v=/\d/,B=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,D=/^[\],:{}\s]*$/,H=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,G=/(?:^|:|,)(?:\s*\[)+/g,M=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,j=/(msie) ([\w.]+)/,o=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false, q=[],t,x=Object.prototype.toString,C=Object.prototype. hasOwnProperty,P=Array.prototype.push,N=Array.prot otype.slice,R=String.prototype.trim,Q=Array.protot ype.indexOf,L={};b.fn=b.prototype={init:function(i ,r){var y,z,F;if(!i)return this;if(i.nodeType){this.context=this[0]=i;this.length=1;return this}if(i==="body"&&!r&&u.body){this.context=u;this[0]=u.body;this.selector="body";this.length=1;return this}if(typeof i==="string")if((y=h.exec(i))&&(y[1]||!r))if(y[1]){F=r?r.ownerDocument||r:u;if(z=B.exec(i))if(b.isP lainObject(r)){i= [u.createElement(z[1])];b.fn.attr.call(i,r,true)}

Cyletech
شنبه 03 تیر 1391, 19:35 عصر
اول از همه از قالب بندی ها استفاده کنید که مشخص تر باشه کدها.


به صورتی که دی کد نشه؟؟اصلا امکانش نیست. هر راهی رو بری دیکد میشه ولی شنیدم بعضی تیم ها هستند که پول زیادی میگیرن و کد میکنن (خارجی ها) که قطعا بکار ما نمیاد. در مورد ابزاری برای کد کردن اینجارو (https://www.google.com/search?q=coding+js+file&ie=utf-8&oe=utf-8&client=ubuntu&channel=fs#hl=en&client=ubuntu&hs=gCo&channel=fs&sclient=psy-ab&q=encoding+js+file&oq=encoding+js+file&aq=f&aqi=g-K1g-mK3&aql=&gs_l=serp.3..0i30j0i5i30l3.9068.9178.0.9999.2.2.0. 0.0.1.395.776.3-2.2.0.ciatsh..0.0.i-KXBa7EAKo&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=ab4892bf93a82989&biw=994&bih=641) جستجو کن