• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Remove the share page templates when JavaScript is disabled


XenForo moderator
Staff member
I have made small edits to the share_page and sidebar_share_page templates to stop them being displayed when JavaScript is disabled.

Simply adding JsOnly to the class is enough, like so:

<div class="sharePage JsOnly">
<div class="section infoBlock sharePage JsOnly">
Without these edits Facebook and Google aren't displayed but the Tweet text is.
Even then, the Share This Page text would still be displayed so these simple edits completely remove it.