<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="https://www.the-mage-expert.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Tue, 24 Jan 2023 09:37:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Activate JavaScript console for Firefox</title>
		<link>https://www.the-mage-expert.com/491/magento-activate-javascript-console-firefox/</link>
		<comments>https://www.the-mage-expert.com/491/magento-activate-javascript-console-firefox/#comments</comments>
		<pubDate>Tue, 10 Dec 2013 14:16:00 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=491</guid>
		<description><![CDATA[For whatever reason, the JavaScript console is not working for Magento by default. So if you try to output messages using console.log, nothing will happen. To change that, open js\varien\js.js and uncomment the following code: [crayon-6a7abf6e3a85f/]]]></description>
				<content:encoded><![CDATA[<p>For whatever reason, the JavaScript console is not working for Magento by default. So if you try to output messages using <em>console.log</em>, nothing will happen. To change that, open <em>js\varien\js.js</em> and uncomment the following code:</p>
<p></p><pre class="crayon-plain-tag">if (!(&quot;console&quot; in window) || !(&quot;firebug&quot; in console))
{
    var names = [&quot;log&quot;, &quot;debug&quot;, &quot;info&quot;, &quot;warn&quot;, &quot;error&quot;, &quot;assert&quot;, &quot;dir&quot;, &quot;dirxml&quot;,
    &quot;group&quot;, &quot;groupEnd&quot;, &quot;time&quot;, &quot;timeEnd&quot;, &quot;count&quot;, &quot;trace&quot;, &quot;profile&quot;, &quot;profileEnd&quot;];

    window.console = {};
    for (var i = 0; i &lt; names.length; ++i)
        window.console[names[i]] = function() {}
}</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/491/magento-activate-javascript-console-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is &#8220;var Translator&#8221; and can it be removed?</title>
		<link>https://www.the-mage-expert.com/435/magento-what-is-var-translator-can-i-remove-it/</link>
		<comments>https://www.the-mage-expert.com/435/magento-what-is-var-translator-can-i-remove-it/#comments</comments>
		<pubDate>Tue, 27 Aug 2013 13:03:51 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=435</guid>
		<description><![CDATA[If you take a look at your Magento stores code, you might see the following JavaScript code: [crayon-6a7abf6e4907d/] You might ask yourself, if its safe to remove that and what that code does. The code is responsible for translating your&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you take a look at your Magento stores code, you might see the following JavaScript code:</p>
<p></p><pre class="crayon-plain-tag">var Translator = new Translate({...});</pre><p></p>
<p>You might ask yourself, if its safe to remove that and what that code does. The code is responsible for translating your forms. Its safe to remove it, if you setup your store with only one language. If thats the case, you can safely remove the above code.<br />
To rmove the code, open <em>app/design/frontend/default/theme/template/page/html/head.php</em>, and remove the following code:</p>
<p></p><pre class="crayon-plain-tag">&lt;?php echo $this-&gt;helper('core/js')-&gt;getTranslatorScript() ?&gt;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/435/magento-what-is-var-translator-can-i-remove-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
