Detect client domain name
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3420004/access-parent-url-from-iframe">access parent url from iframe</a>  </p>
</blockquote>



<p>I am currently have an iframe tag, e.g.:</p>

<pre><code>&lt;iframe src="www.mydomain.com/animation.html&gt;&lt;/iframe&gt;
</code></pre>

<p>...and i want my client to embed this tag to render on their page , however i want to offer only some domain name list in my database to render this iframe, so how can i do. thanks</p>
