Answers.Body: <p>Try wrapping those items in <code>&lt;span class="hiddenElement"&gt; &lt;/span&gt;</code>. Civi's css will hide it on your website, but email clients will not.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-06T20:46:38.053Z
Answers.LastActivityDate: 2015-05-06T20:46:38.053Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>Thank you for the suggestion, Coleman, but we can't get the "hiddenElement" class to affect the display. We are particularly keen to hide the 'Unsubscribe' link at the bottom of our emails when 'viewed in browser'.</p>
  
  <p>Are there any plans to allow the 'View in Browser' page link within the mailing to be include a Contact ID (and a key token to prevent forgery?) so that 'Unsubscribe' can work as expected, even when the mailing is being 'viewed in browser'?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-17T16:50:44.237Z
Answers.LastActivityDate: 2017-02-17T16:50:44.237Z
Answers.UserDisplayName: David Hepper
Body: <p>When a person clicks on the <em>view in browser</em> link in an email, the email is generated on a webpage. This webpage also includes any tokens like Forward to a friend, which on this webpage does not work. How can the html for the web-page version of the email be edited to get rid of such token (or the unsubscribe token?)</p>
  
Tags: <email><tokens>
Title: in CiviMail, when using "view in browser" link, how can forward to a friend be disabled?
ThreadText: # in CiviMail, when using "view in browser" link, how can forward to a friend be disabled?
  
  (Asked by: username_0 on 2015-05-06)
  
  When a person clicks on the *view in browser* link in an email, the email is generated on a webpage. This webpage also includes any tokens like Forward to a friend, which on this webpage does not work. How can the html for the web-page version of the email be edited to get rid of such token (or the unsubscribe token?)
  
  **Tags:** email, tokens
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-05-06. Score: 2
  
  Try wrapping those items in `<span class="hiddenElement"> </span>`. Civi's css will hide it on your website, but email clients will not.
  
  
  ---
  
  ### Answer by username_2 on 2017-02-17. Score: -1
  
  Thank you for the suggestion, username_1, but we can't get the "hiddenElement" class to affect the display. We are particularly keen to hide the 'Unsubscribe' link at the bottom of our emails when 'viewed in browser'.
  
  Are there any plans to allow the 'View in Browser' page link within the mailing to be include a Contact ID (and a key token to prevent forgery?) so that 'Unsubscribe' can work as expected, even when the mailing is being 'viewed in browser'?
  
  
  ---
  
  