I can hide the menu using follwing script from confluence-user as well as confluence-administrator.
<script>
AJS.toInit(function(){
if (AJS.params.remoteUser == ''){
AJS.$('#browse-menu-link').hide();
}
});
</script>
But, I want to hide menu to a Group, Is there any script to hide a menu from a group?