WhatsApp Web Boss

Hides your whatsapp session at work

// ==UserScript==
// @name         WhatsApp Web Boss
// @name:de      WhatsApp Web Boss
// @namespace    https://greasyfork.org/en/users/8579-rarspace01
// @version      0.2
// @description  Hides your whatsapp session at work
// @description:de Versteckt die whatapp session auf der Arbeit
// @author       rarspace01
// @match        https://web.whatsapp.com/
// @grant        none
// ==/UserScript==

/*!
 * Dynamically changing favicons with JavaScript
 * Works in all A-grade browsers except Safari and Internet Explorer
 * Demo: http://mathiasbynens.be/demo/dynamic-favicons
 */

// HTML5™, baby! http://mathiasbynens.be/notes/document-head
document.head = document.head || document.getElementsByTagName('head')[0];

function changeFavicon(src) {
    var link = document.createElement('link'),
        oldLink = document.getElementById('dynamic-favicon');
    link.id = 'dynamic-favicon';
    link.rel = 'shortcut icon';
    link.href = src;
    if (oldLink) {
        document.head.removeChild(oldLink);
    }
    document.head.appendChild(link);
}

//function to change favicon to stackoverflow and Tabtitle to a fitting title
function doTheBossStuff() {
changeFavicon('https://stackoverflow.com/favicon.ico');
document.title = "How to send multiple attachments .xls files of different objects using apex"; 
}

window.setInterval(function(){
  
    doTheBossStuff();
    
}, 5000);