script will hide all the shareppoint default icons




$(document).ready(notRequiredElement);

function notRequiredElement() {
    $("a[id$='_share_button']").css("display", "none");
    $("a[id$='_SyncPromotedAction']").css("display", "none");
    $("a[id$='_follow_button']").css("display", "none");
     $("a[id$='_SiteActionsMenu']").css("display", "none");
      $("a[id$='_TopHelpLink']").css("display", "none");
      $("a[id$='_fullscreenmodeBtn']").css("display", "none");


}

Comments

Popular posts from this blog

SP People Picker Validation

Create multiple web parts in one SPFx Solution

JQgrid Auto Complete functionality for a textbox using Jquerry