Mask Embarrassing Tab Titles

By brad.tee Last update Jul 23, 2008 — Installed 150 times.
// ==UserScript==
// @name           Mask Embarrassing Tab Titles
// @namespace      http://userscripts.org/users/42648
// @description    Changes the tab title from something embarrassing to something more innocuous.
// @include Add sites to be masked here.
// ==/UserScript==

//I've created an array of a bunch of fake tab titles. We then create a random number and use that to pick one of the fake tab titles and switch it with the actual tab title.

var fakesites = new Array();
fakesites[0] = "Google Search";
fakesites[1] = "Amazon.com: Online Shopping for Electronics, Apparel";
fakesites[2] = "Google Notebook";
fakesites[3] = "Welcome to StumbleUpon";
fakesites[4] = "Newegg.com - Computer Parts, PC Components, Laptop";
fakesites[5] = "Userscripts.org";
fakesites[6] = "SQL Tutorial";
fakesites[7] = "Google Maps";
fakesites[8] = "Mozilla.org - Home of the Mozilla Project";
fakesites[9] = "Gmail - Inbox";
fakesites[10] = "Main Page - Wikipedia, the free encyclopedia";
fakesites[11] = "The Internet Movie Database (IMDb)";
fakesites[12] = "Google News";
fakesites[13] = "Firefox Add-ons";
fakesites[14] = "Digital Blasphemy 3D Wallpaper";

var picker=Math.floor(Math.random()*(fakesites.length))
document.title=fakesites[picker]