{"id":1416,"date":"2007-11-20T13:00:00","date_gmt":"2007-11-20T20:00:00","guid":{"rendered":"http:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php"},"modified":"2007-11-20T13:00:00","modified_gmt":"2007-11-20T20:00:00","slug":"beautify-javascript-aclara-codigo-javascript","status":"publish","type":"post","link":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php","title":{"rendered":"Beautify Javascript: aclara c\u00f3digo Javascript"},"content":{"rendered":"<p>Normalmente lo que intentamos es comprimir nuestro c\u00c3\u00b3digo Javascript o bien para que ocupe menos, o bien para ofuscarlo. En este caso se trata de un script que nos permite embellecer scripts comprimidos.<\/p>\n<p><p>As\u00c3\u00ad, por ejemplo, el c\u00c3\u00b3digo de Google Reader, el cual, como todos los de Google son casi imposibles de seguir, lo ver\u00c3\u00adamos as\u00c3\u00ad:<\/p>\n<pre><code>...\nfunction nd(a, b) {\na = String(a);\nreturn (new Array(Math.max(0, b - a.length + 1))).join(mc) + a\n}\nvar l = \"\";\nfunction tj() {\nreturn Array.prototype.join.call(arguments, l)\n}\nvar R = \" \",\nnc = \", \",\nJc = \":\";\nfunction zQ(a) {\n...<\/code><\/pre>\n<p><a href=\"http:\/\/elfz.laacz.lv\/beautify\">Beautify Javascript<\/a><\/p>\n<p>V\u00c3\u00ada \/ <a href=\"http:\/\/ajaxian.com\/archives\/javascript-beautify\">Ajaxian<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Normalmente lo que intentamos es comprimir nuestro c\u00c3\u00b3digo Javascript o bien para que ocupe menos, o bien para ofuscarlo. En este caso se trata de un script que nos permite embellecer scripts comprimidos. As\u00c3\u00ad, por ejemplo, el c\u00c3\u00b3digo de Google Reader, el cual, como todos los de Google son casi imposibles de seguir, lo ver\u00c3\u00adamos&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[7],"tags":[2340],"class_list":["post-1416","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Beautify Javascript: aclara c\u00f3digo Javascript - Sentido Web<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beautify Javascript: aclara c\u00f3digo Javascript - Sentido Web\" \/>\n<meta property=\"og:description\" content=\"Normalmente lo que intentamos es comprimir nuestro c\u00c3\u00b3digo Javascript o bien para que ocupe menos, o bien para ofuscarlo. En este caso se trata de un script que nos permite embellecer scripts comprimidos. As\u00c3\u00ad, por ejemplo, el c\u00c3\u00b3digo de Google Reader, el cual, como todos los de Google son casi imposibles de seguir, lo ver\u00c3\u00adamos...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php\" \/>\n<meta property=\"og:site_name\" content=\"Sentido Web\" \/>\n<meta property=\"article:published_time\" content=\"2007-11-20T20:00:00+00:00\" \/>\n<meta name=\"author\" content=\"Luis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@luissacristan\" \/>\n<meta name=\"twitter:site\" content=\"@luissacristan\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Luis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php\"},\"author\":{\"name\":\"Luis\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#\\\/schema\\\/person\\\/26a6b5d2a1e4d9e696359c809fa24f0f\"},\"headline\":\"Beautify Javascript: aclara c\u00f3digo Javascript\",\"datePublished\":\"2007-11-20T20:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php\"},\"wordCount\":70,\"publisher\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#organization\"},\"keywords\":[\"Javascript\"],\"articleSection\":[\"Javascript\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php\",\"url\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php\",\"name\":\"Beautify Javascript: aclara c\u00f3digo Javascript - Sentido Web\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#website\"},\"datePublished\":\"2007-11-20T20:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/2007\\\/11\\\/20\\\/beautify-javascript-aclara-codigo-javascript.php#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sentidoweb.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Beautify Javascript: aclara c\u00f3digo Javascript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#website\",\"url\":\"https:\\\/\\\/sentidoweb.com\\\/\",\"name\":\"Sentido Web\",\"description\":\"Desarrollo web, HTML, CSS, Javascript, PHP, MySQL\",\"publisher\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sentidoweb.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#organization\",\"name\":\"Sentido Web\",\"url\":\"https:\\\/\\\/sentidoweb.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/sentidoweb.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/sentidoweb.svg\",\"contentUrl\":\"https:\\\/\\\/sentidoweb.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/sentidoweb.svg\",\"width\":67,\"height\":31,\"caption\":\"Sentido Web\"},\"image\":{\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/luissacristan\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/luissacristan\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sentidoweb.com\\\/#\\\/schema\\\/person\\\/26a6b5d2a1e4d9e696359c809fa24f0f\",\"name\":\"Luis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0dc21c6353fb30f6f05e4feb89ebc431babbb77418213c7bffc8e8ed416facfc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0dc21c6353fb30f6f05e4feb89ebc431babbb77418213c7bffc8e8ed416facfc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0dc21c6353fb30f6f05e4feb89ebc431babbb77418213c7bffc8e8ed416facfc?s=96&d=mm&r=g\",\"caption\":\"Luis\"},\"sameAs\":[\"http:\\\/\\\/sentidoweb.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Beautify Javascript: aclara c\u00f3digo Javascript - Sentido Web","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php","og_locale":"en_US","og_type":"article","og_title":"Beautify Javascript: aclara c\u00f3digo Javascript - Sentido Web","og_description":"Normalmente lo que intentamos es comprimir nuestro c\u00c3\u00b3digo Javascript o bien para que ocupe menos, o bien para ofuscarlo. En este caso se trata de un script que nos permite embellecer scripts comprimidos. As\u00c3\u00ad, por ejemplo, el c\u00c3\u00b3digo de Google Reader, el cual, como todos los de Google son casi imposibles de seguir, lo ver\u00c3\u00adamos...","og_url":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php","og_site_name":"Sentido Web","article_published_time":"2007-11-20T20:00:00+00:00","author":"Luis","twitter_card":"summary_large_image","twitter_creator":"@luissacristan","twitter_site":"@luissacristan","twitter_misc":{"Written by":"Luis","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php#article","isPartOf":{"@id":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php"},"author":{"name":"Luis","@id":"https:\/\/sentidoweb.com\/#\/schema\/person\/26a6b5d2a1e4d9e696359c809fa24f0f"},"headline":"Beautify Javascript: aclara c\u00f3digo Javascript","datePublished":"2007-11-20T20:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php"},"wordCount":70,"publisher":{"@id":"https:\/\/sentidoweb.com\/#organization"},"keywords":["Javascript"],"articleSection":["Javascript"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php","url":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php","name":"Beautify Javascript: aclara c\u00f3digo Javascript - Sentido Web","isPartOf":{"@id":"https:\/\/sentidoweb.com\/#website"},"datePublished":"2007-11-20T20:00:00+00:00","breadcrumb":{"@id":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sentidoweb.com\/2007\/11\/20\/beautify-javascript-aclara-codigo-javascript.php#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sentidoweb.com\/"},{"@type":"ListItem","position":2,"name":"Beautify Javascript: aclara c\u00f3digo Javascript"}]},{"@type":"WebSite","@id":"https:\/\/sentidoweb.com\/#website","url":"https:\/\/sentidoweb.com\/","name":"Sentido Web","description":"Desarrollo web, HTML, CSS, Javascript, PHP, MySQL","publisher":{"@id":"https:\/\/sentidoweb.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sentidoweb.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sentidoweb.com\/#organization","name":"Sentido Web","url":"https:\/\/sentidoweb.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sentidoweb.com\/#\/schema\/logo\/image\/","url":"https:\/\/sentidoweb.com\/wp-content\/uploads\/2024\/03\/sentidoweb.svg","contentUrl":"https:\/\/sentidoweb.com\/wp-content\/uploads\/2024\/03\/sentidoweb.svg","width":67,"height":31,"caption":"Sentido Web"},"image":{"@id":"https:\/\/sentidoweb.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/luissacristan","https:\/\/www.linkedin.com\/in\/luissacristan\/"]},{"@type":"Person","@id":"https:\/\/sentidoweb.com\/#\/schema\/person\/26a6b5d2a1e4d9e696359c809fa24f0f","name":"Luis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0dc21c6353fb30f6f05e4feb89ebc431babbb77418213c7bffc8e8ed416facfc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0dc21c6353fb30f6f05e4feb89ebc431babbb77418213c7bffc8e8ed416facfc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0dc21c6353fb30f6f05e4feb89ebc431babbb77418213c7bffc8e8ed416facfc?s=96&d=mm&r=g","caption":"Luis"},"sameAs":["http:\/\/sentidoweb.com"]}]}},"_links":{"self":[{"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/posts\/1416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/comments?post=1416"}],"version-history":[{"count":0,"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/posts\/1416\/revisions"}],"wp:attachment":[{"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/media?parent=1416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/categories?post=1416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sentidoweb.com\/wp-json\/wp\/v2\/tags?post=1416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}