SharePoint 2013 - Hide SHARE,FOLLOW, SYNC, EDIT Icons

FOLLOW



How to Hide it -
<script language=”javascript”>
_spBodyOnLoadFunctionNames.push(“HideBrandingsuite”);
function HideBrandingsuite()
{
document.getElementById(‘site_follow_button’).style.visibility = ‘hidden’;
}
</script>


SYNC



How to Hide it -
<script language=”javascript”>
_spBodyOnLoadFunctionNames.push(“HideBrandingsuite”);
function HideBrandingsuite()
{
document.getElementById(‘ctl00_SyncPromotedAction‘).style.visibility = ‘hidden’;
}
</script>

EDIT\Save and Close



How to Hide it -
<script language=”javascript”>
_spBodyOnLoadFunctionNames.push(“HideBrandingsuite”);
function HideBrandingsuite()
{
document.getElementById(‘ctl00_PageStateActionButton‘).style.visibility = ‘hidden’;
}
</script>



FULL Screen button



How to Hide it -
<script language=”javascript”>
_spBodyOnLoadFunctionNames.push(“HideBrandingsuite”);
function HideBrandingsuite()
{
document.getElementById(‘ctl00_fullscreenmodeBtn‘).style.visibility = ‘hidden’;
}
</script>

0 comments:

Post a Comment

Popular Posts