Hide Tab Name and Icon

We all hate it when you're recording and forget to close that furry porn tab. That's right sam! I caught you!! Anyways, this will change the tab back and forth between <> and ><. It also hides the tab icon. Don't bully me, I know bat shit about computer programming. This was a thing meant to hide tab names from the school chromebook spyware, also known as "Hapara". So try to prepare yourself to actually throw up if you look at the "code" for it.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name            Hide Tab Name and Icon
// @version         1.0
// @description     We all hate it when you're recording and forget to close that furry porn tab. That's right sam! I caught you!! Anyways, this will change the tab back and forth between <> and ><. It also hides the tab icon. Don't bully me, I know bat shit about computer programming. This was a thing meant to hide tab names from the school chromebook spyware, also known as "Hapara". So try to prepare yourself to actually throw up if you look at the "code" for it.
// @include         *
// @author          DotDotDash
// @match           http://*/*
// @run-at          document-start
// @grant           none
// @namespace https://greasyfork.org/users/869339
// ==/UserScript==
/**
 * ---------------------------
 * Time: 2022/1/28 19:28.
 * Author: DotDotDash
 * View: j.go
 * ---------------------------
 */

/**
 * 1. em
 * 2. set configurable: true
 * 3. dn
 * 4. od
 */


function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}

async function delayedGreeting() {
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  javascript:(function() {     var link = document.querySelector("link[rel*='icon']") || document.createElement('link');     link.type = 'image/x-icon';     link.rel = 'shortcut icon';     link.href = 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Antonia_Sautter_Creations.png/120px-Antonia_Sautter_Creations.png';     document.getElementsByTagName('head')[0].appendChild(link); })(); void 0
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  document.title = '><'
  await sleep(500);
  console.log("Changed tab name")
  document.title = '<>'
  await sleep(500);
  
}
delayedGreeting();