<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[&lt;script&gt; tag not working in Mango V4?]]></title><description><![CDATA[<p dir="auto">Hi All. Has anybody else struggle with the &lt;script&gt; tag in the new Mango V4 that not working? In Mango V3 the exact same code works 100%? Am i missing something?</p>
]]></description><link>https://forum.mango-os.com/topic/5422/script-tag-not-working-in-mango-v4</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 04:03:45 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5422.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Jan 2022 07:50:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &lt;script&gt; tag not working in Mango V4? on Thu, 17 Mar 2022 07:54:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> Hi Jared. Is there a better solution for this as i am struggling to create the script as the entry point under User modules? Or perhaps if you can give me quick point as to how to go about this?</p>
]]></description><link>https://forum.mango-os.com/post/27329</link><guid isPermaLink="true">https://forum.mango-os.com/post/27329</guid><dc:creator><![CDATA[Ruan 0]]></dc:creator><pubDate>Thu, 17 Mar 2022 07:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to &lt;script&gt; tag not working in Mango V4? on Thu, 10 Feb 2022 12:01:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> Thanks Jared. Will do.</p>
]]></description><link>https://forum.mango-os.com/post/27307</link><guid isPermaLink="true">https://forum.mango-os.com/post/27307</guid><dc:creator><![CDATA[Ruan 0]]></dc:creator><pubDate>Thu, 10 Feb 2022 12:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to &lt;script&gt; tag not working in Mango V4? on Wed, 12 Jan 2022 18:22:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ruan-0" aria-label="Profile: ruan-0">@<bdi>ruan-0</bdi></a> I think that previously we were using jQuery to insert the HTML for the custom pages, however we have switched to using jQuery Lite (built into AngularJS). This uses <code>Element.innerHTML</code> to insert the markup and as per the HTML5 spec this should not execute scripts - <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#security_considerations" rel="nofollow ugc">https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML#security_considerations</a></p>
<p dir="auto">I would recommend configuring a user module on the "UI settings" page as an entry point for your custom Javascript.</p>
]]></description><link>https://forum.mango-os.com/post/27221</link><guid isPermaLink="true">https://forum.mango-os.com/post/27221</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 12 Jan 2022 18:22:15 GMT</pubDate></item><item><title><![CDATA[Reply to &lt;script&gt; tag not working in Mango V4? on Wed, 12 Jan 2022 16:04:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ruan-0" aria-label="Profile: ruan-0">@<bdi>ruan-0</bdi></a> Are you inserting it in a custom page or dashboard designer page? I think I noticed this too, I will look into it for you.</p>
]]></description><link>https://forum.mango-os.com/post/27220</link><guid isPermaLink="true">https://forum.mango-os.com/post/27220</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 12 Jan 2022 16:04:41 GMT</pubDate></item></channel></rss>