How to Add an HREF using Javascript?
<p>I have an ASP.NET 4.0 site that has links to another ASP.NET site (different domain name).  In situations where users from domain 1 are directed to a page on domain 2, how would I setup a Javascript routine to create an href back to domain 1?  That is, I don't want to place a solid <code>&lt;a&gt;</code> tag  on domain 2 pointing back to domain 1.  Rather, I need a little bit of script magic that only makes the href available to users coming from domain 1.  Can anyone suggest a specific Javascript library/widget that functions in this manner?</p>
