title: Getting data attributes from element in external page
body: <p>I have an html page containing an element with info as attributes :</p>
  <pre><code>&lt;div id=&quot;dayinfo&quot; data-of=&quot;Mardi&quot; data-url=&quot;https://fr.wikipedia.org/wiki/Mardi&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>In my homepage when load i want this div to be included with it attributes not only the innerHTML, the purpose is i want to use these attributes in my homepage, so my solution would be :</p>
  <ol>
  <li>A script which allow me to get the attribute from the external page directly</li>
  <li>Or load this element in my homepage a use its attributes</li>
  </ol>
  <p>Also, the fact i want this from external page is i have 366 html page for each day of the year with a lot of data in them, for this reason i can't just put directly that huge amount of html in my homepage it's easily 200 kb for each page.</p>