BCC profile cleanup GM

For script writing
Post Reply
User avatar
Pie in the Sky
Posts: 196
Joined: Sun Apr 18, 2010 2:07 pm
Location: Chicago

BCC profile cleanup GM

Post by bleary » Fri Nov 11, 2011 12:00 pm

This removes the introductory text and the side navigation bar from a BCC profile page. Save as a .js file and load up in your browser, it ought to import okay.

Code: Select all

// ==UserScript==
// @name           bcc profile cleanup
// @namespace      http://introvert.net/
// @description    removes cruft from bcc profiles
// @include        http://bumcheekcity.com/kol/profile.php?*
// @require       http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
// ==/UserScript==

$("h2:contains('cool profile')").hide();
$("p:contains('need to be using')").hide();
$("p:contains('Thanks to people')").hide();
$("h2:contains('Fixing Problems')").hide();
$("p:contains('having problems')").hide();
$("p:contains('Set up your profile')").hide();

Post Reply