read txt file with javascript in sharepoint
<p>i'm trying to read text file that content this :</p>

<pre><code>&lt;p&gt; copyright 2016 ..... &lt;/p&gt;
</code></pre>

<p>from a file text in sharepoint library:URL </p>

<p><a href="https://mydomaine.sharepoint.com/sites/sitecollection/mysite/assets/footer.txt" rel="nofollow">https://mydomaine.sharepoint.com/sites/sitecollection/mysite/assets/footer.txt</a></p>

<p>using javascript and inject it in my html master page in  the footer <code>&lt;footer&gt;&lt;/footer&gt;</code>
any solution?</p>