So I found out that you don't need any code/script to disable those buttons (share, follow and synchronize).
Here's how:
- Disable "Share button"
- Go to Site Permissions
- Select Access Request Settings
- Unmark Allow access request
- Disable "Follow button"
- Go to Site Features
- Deactivated Following Content Feature
- Disable "Synchronize button"
- Go to library settings
- Go to Advanced settings
- Say No to Offline Client Availability
All done :)
You just saved my bacon sir. Many thanks.
ReplyDelete