There are times where you don’t want to show that you are on Facebook. I decided to create a simple Greasemonkey script to do just that. This script removes the favicon — that icon that shows in the tab — and it also sets the title to “Page Not Found – Facebook.com”. Hope it has some use for some.
Download – mask_facefook.user.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | // ==UserScript== // @name Mask Facebook // @namespace http://jaybachatero.com // @description This script will remove the favicon and the page title from Facebook. // @include http://*.facebook.com/* // @include http://facebook.com/* // @include https://*.facebook.com/* // @include https://facebook.com/* // @version 0.1 // ==/UserScript== // Set the form values. var link = document.createElement('link'); link.setAttribute('rel', 'shortcut icon'); link.setAttribute('href', ''); var head = document.getElementsByTagName('head')[0]; head.appendChild(link); // Set the title by default. document.title = 'Page Not Found - Facebook.com'; // Lets make sure the title is updated every 5 seconds in case an IM is received. setTimeout(function () { document.title = 'Page Not Found - Facebook.com'; }, 5000); |