title: If domain specified not equal to then current URL apply this jQuery as well as pages with same domain
body: <p>The code below only shows <code>&lt;span&gt;</code> on <a href="http://example.com/" rel="nofollow noreferrer">http://example.com/</a> but wont show <code>&lt;span&gt;</code> on <a href="http://example.com/files/target.html" rel="nofollow noreferrer">http://example.com/files/target.html</a> so how can I get it to work on all pages with the specified domain? Please help.</p>
  <pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
  var myurl = &quot;http://example.com/&quot;;
  var currenturl = window.location
  if(myurl != currenturl) {
  $(&quot;&lt;span style=font-size:200px;&gt;big&lt;/span&gt;&quot;).replaceAll(&quot;body&quot;); // check replaceWith() examples
  }
  &lt;/script&gt;
  </code></pre>