$(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"); }