title: Is there anyway to hide partial/element of a html source when viewing?
body: <h1>I know this is not possible in direct. Just checking if there is any work-around, or :source specific api's.</h1>
  
  <p>Anyone know a method or a trick to hide part of the html source code when view from view-source code option in the browser?</p>
  
  <p>e.g. view-source:<a href="https://www.someurl.com/" rel="nofollow">https://www.someurl.com/</a></p>
  
  <p>I need to hide part of a source code, for an <strong>example</strong> a javascript tag or a div element.</p>
  
  <hr>
  
  <p>Any possibility of achieving it by javascript?</p>
  
  <blockquote>
    <p><em>Idea is not to secure the script, but to ignore when code copying.</em></p>
  </blockquote>
  
  <p>I know what's come to client will download to local, but as I mentioned this is <strong>not to SECURE</strong> a script. <strong>But just to ignoring it in code copying</strong>.</p>
  
  <p><br></p>
  
  <p>Thanks!</p>