-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Facebook user script to hide the ticker
- Loading branch information
Peter Grippi
committed
Dec 8, 2011
1 parent
48df67d
commit 81285a3
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// ==UserScript== | ||
// @name Facebook Ticker Hider | ||
// @namespace http://petergrippi.com/ | ||
// @description hides the new Ticker on the Facebook home page | ||
// @include http://www.facebook.com/ | ||
// @include https://www.facebook.com/ | ||
// ==/UserScript== | ||
/*jslint browser: true, sub: false, white: false, maxerr: 50, indent: 2 */ | ||
(function (window) { | ||
"use strict"; | ||
|
||
var ticker = document.getElementById('pagelet_rhc_ticker'); | ||
if (ticker !== null) { | ||
ticker.style.display = 'none'; | ||
} | ||
}()); |