chrome extension : https://chrome.google.com/webstore/detail/privacy-extension-for-wha/jbojhlhhggfmmkpefknmbdhlaghehini
code: https://github.com/LukasLen/Privacy-Extension-For-WhatsApp-Web