title: How can I control css via document.referrer
body: <p>I would like to automatically adjust the css if the visit comes from another site</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script&gt;
  const ref = document.referrer.match("stackoverflow.com");
  if (ref != null){
  document.getElementByTagName("body").style.display = "none";
  }
      &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The css in this way does not change, so what is the solution?</p>