I have wrote the following three scripts at the end of my master page, to remove the Fellow,Sync and Share buttons:-
<script type= "text/javascript">
_spBodyOnLoadFunctionNames.push("HideBrandingsuite");
function HideBrandingsuite()
{
document.getElementById('site_follow_button').style.visibility = 'hidden';
}
</script>
<script type= "text/javascript">
_spBodyOnLoadFunctionNames.push("HideBrandingsuite2");
function HideBrandingsuite2()
{
document.getElementById('ctl00_SyncPromotedAction').style.visibility = 'hidden';
}
</script>
<script type= "text/javascript">
_spBodyOnLoadFunctionNames.push("HideBrandingsuite3");
function HideBrandingsuite3()
{document.getElementById('ctl00_site_share_button').style.visibility = 'hidden';
}
</script>
This will remove the sync and fellow buttons, but still the Share button appear, although when I used the developer tool inside IE it mentioned that the Share button id is = 'ctl00_site_share_button' as mentioned inside my code ? Any idea how to hide the Share button??