<?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>Thu, 05 Nov 2026 21:47:58 +0000</lastBuildDate>
	<language>de-DE</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Magento and Polyfills: Is your store secure?</title>
		<link>https://www.the-mage-expert.com/2305/magento-and-polyfills-is-your-store-secure/</link>
		<comments>https://www.the-mage-expert.com/2305/magento-and-polyfills-is-your-store-secure/#comments</comments>
		<pubDate>Thu, 27 Jun 2024 09:31:59 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Polyfill]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=2305</guid>
		<description><![CDATA[It was recently reported that the new owner of the Polyfill project had injected Malware into the polyfill.js file. If your Magento 1 or Magento 2 store uses the Polyfill JavaScript, this may pose a serious threat to your store&#8230;]]></description>
				<content:encoded><![CDATA[<p>It was recently reported that the new owner of the Polyfill project had injected <strong>Malware</strong> into the <strong>polyfill.js</strong> file. If your Magento 1 or Magento 2 store uses the Polyfill JavaScript, this may pose a <strong>serious threat to your store</strong> .</p>
<p>Affected websites may redirect shoppers to malware-infected sites, and customer information may be accessed or altered.</p>
<p>I can inspect your Magento 2 store for Polyfill-related risks. <a href="https://www.the-mage-expert.com/contact/" target="_blank">get in touch</a> for prompt and reliable assistance.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/2305/magento-and-polyfills-is-your-store-secure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jQuery in a template (phtml)</title>
		<link>https://www.the-mage-expert.com/1822/using-jquery-in-a-template-phtml/</link>
		<comments>https://www.the-mage-expert.com/1822/using-jquery-in-a-template-phtml/#comments</comments>
		<pubDate>Tue, 21 Sep 2021 21:15:46 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=1822</guid>
		<description><![CDATA[The following code shows how to load and use jQuery in a Magento 2 .phtml template. [crayon-6af33ff74b898/]]]></description>
				<content:encoded><![CDATA[<p>The following code shows how to load and use jQuery in a Magento 2 .phtml template.</p><pre class="crayon-plain-tag">&lt;script&gt;
    // Separate additional libraries with commas
    // In this example, jQuery UI
    require(['jquery', 'jquery/ui'], function($){
        $(document).ready( function() {
            alert(&quot;fertig :-)&quot;);
        });
    });
&lt;/script&gt;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1822/using-jquery-in-a-template-phtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript translations are not working</title>
		<link>https://www.the-mage-expert.com/1770/javascript-translations-are-not-working/</link>
		<comments>https://www.the-mage-expert.com/1770/javascript-translations-are-not-working/#comments</comments>
		<pubDate>Thu, 22 Apr 2021 05:19:31 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=1770</guid>
		<description><![CDATA[If you add a translation to a language CSV file (such as de_DE.csv), it may not be included correctly in your theme&#8217;s js-translation.json . Consequently, messages such as validation errors remain untranslated. To fix this, override vendor/magento/module-translation/Model/Json/PreProcessor.php and make the&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you add a translation to a language CSV file (such as de_DE.csv), it may not be included correctly in your theme&#8217;s <strong>js-translation.json</strong> . Consequently, messages such as validation errors remain untranslated. To fix this, override <strong>vendor/magento/module-translation/Model/Json/PreProcessor.php</strong> and make the following change:</p><pre class="crayon-plain-tag">$area = $this-&gt;areaList-&gt;getArea($areaCode);			
$area-&gt;load(\Magento\Framework\App\Area::PART_TRANSLATE);</pre><p></p>
<p>becomes</p><pre class="crayon-plain-tag">$area = $this-&gt;areaList-&gt;getArea($areaCode);	
$area-&gt;load(\Magento\Framework\App\Area::PART_DESIGN);		
$area-&gt;load(\Magento\Framework\App\Area::PART_TRANSLATE);</pre><p></p>
<p>After redeploying the static content, your translation should appear in your theme&#8217;s js-translation.json and work on the storefront.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1770/javascript-translations-are-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generating CSS and JavaScript files manually for de_DE</title>
		<link>https://www.the-mage-expert.com/1188/generating-css-and-javascript-files-manually-for-de-de/</link>
		<comments>https://www.the-mage-expert.com/1188/generating-css-and-javascript-files-manually-for-de-de/#comments</comments>
		<pubDate>Tue, 05 Jul 2016 12:15:43 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=1188</guid>
		<description><![CDATA[Sometimes JavaScript and CSS assets in Magento 2 are not loaded correctly. If you need to generate the JavaScript and CSS resources manually, you can do so from the Linux command line. The following command generates the files: [crayon-6af33ff752a08/]]]></description>
				<content:encoded><![CDATA[<p>Sometimes JavaScript and CSS assets in Magento 2 are not loaded correctly. If you need to generate the JavaScript and CSS resources manually, you can do so from the Linux command line. The following command generates the files:</p><pre class="crayon-plain-tag">php bin/magento setup:static-content:deploy de_DE</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1188/generating-css-and-javascript-files-manually-for-de-de/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comprehensive protection against content theft</title>
		<link>https://www.the-mage-expert.com/933/comprehensive-protection-against-content-theft/</link>
		<comments>https://www.the-mage-expert.com/933/comprehensive-protection-against-content-theft/#comments</comments>
		<pubDate>Fri, 24 Jul 2015 14:48:54 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Content Theft]]></category>
		<category><![CDATA[Copy Protection]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=933</guid>
		<description><![CDATA[Have you ever been annoyed to discover that the content you worked so hard to write has simply appeared on a competitor&#8217;s website? Want to keep stolen content from hurting your business over time? Take action against content theft! The&#8230;]]></description>
				<content:encoded><![CDATA[<p>Have you ever been annoyed to discover that the content you worked so hard to write has simply appeared on a competitor&#8217;s website? Want to keep stolen content from hurting your business over time?</p>
<p><strong>Take action against content theft!</strong> The <a href="http://www.theftwarner-js.com" target="_blank">Theftwarner</a> or the <a href="http://www.theftcrusher-js.com" target="_blank">Theftcrusher</a> can help you.</p>
<div class="post-img-container">
<a class="post-img" href="http://www.theftwarner-js.com" target="_blank"><img height="200" src="https://www.the-mage-expert.com/wp-content/uploads/image/javascript_copy_plagiarism_protector_theftwarner_logo.min.jpg" alt="Theftwarner JS - Textinhalte einfach sch&uuml;tzen!" title="Theftwarner JS" /></a><a class="post-img" href="http://www.theftwarner-js.com" target="_blank"><img height="200" src="https://www.the-mage-expert.com/wp-content/uploads/image/javascript_copy_protection_theftcrusher_logo.min.jpg" alt="Theftcrusher JS - Textinhalte einfach sch&uuml;tzen!" title="Theftcrusher JS" /><br />
</a>
</div>
<div style="clear: both"></div>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/933/comprehensive-protection-against-content-theft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protecting your store content from copying</title>
		<link>https://www.the-mage-expert.com/886/protecting-your-store-content-from-copying/</link>
		<comments>https://www.the-mage-expert.com/886/protecting-your-store-content-from-copying/#comments</comments>
		<pubDate>Fri, 19 Jun 2015 09:23:38 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Content Theft]]></category>
		<category><![CDATA[Copy Protection]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=886</guid>
		<description><![CDATA[Writing content for a Magento store can take a great deal of time, effort and money. It is all the more frustrating when competitors simply copy that content and use it in their own stores. Even when the stolen text&#8230;]]></description>
				<content:encoded><![CDATA[<p>Writing content for a Magento store can take a great deal of time, effort and money. It is all the more frustrating when competitors simply copy that content and use it in their own stores. Even when the stolen text is modified slightly, this kind of content theft can damage your business.</p>
<p>With <a href="http://www.theftcrusher-js.com/" target="_blank">Theftcrusher</a> it is now possible to make it harder to steal your Magento store&#8217;s content. Copied text can be disrupted and you can even display a message to whoever tries to steal it.</p>
<p>Try it out!</p>
<p>Learn more: <a href="http://www.theftcrusher-js.com/" target="_blank">Theftcrusher JS &#8211; JavaScript Content Copy Protection</a></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/886/protecting-your-store-content-from-copying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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">https://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-6af33ff7605fc/]]]></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">https://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-6af33ff760aac/] 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>
