Do u want to hide any part of ribbon in sharepoint 2013

You need to user Developer Tools f12..find the id and simple hide as below

<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("changeOKBtnTxt()");
 
function changeOKBtnTxt()
{
var a = document.getElementById("ctl00_ctl41_g_dcd47aec_c5ad_4b48_b566_9bcc176f3954_ctl00_toolBarTbltop_RightRptControls_ctl02_ctl00_diidIOGoBack");
var b = document.getElementById("ctl00_ctl41_g_dcd47aec_c5ad_4b48_b566_9bcc176f3954_ctl00_toolBarTbl_RightRptControls_ctl02_ctl00_diidIOGoBack"); 
document.getElementById(a.id).style.display = "none";
document.getElementById(b.id).style.display = "none";
}
</script>

Comments