Skip to content

Commit

Permalink
Adding Facebook user script to hide the ticker
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Grippi committed Dec 8, 2011
1 parent 48df67d commit 81285a3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Facebook/hide_ticker.user.js
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';
}
}());

0 comments on commit 81285a3

Please sign in to comment.