Skip to content

Instantly share code, notes, and snippets.

@connor1995JS
Last active December 30, 2015 07:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save connor1995JS/7794470 to your computer and use it in GitHub Desktop.
Save connor1995JS/7794470 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Stackoverflow black bar destroyer
// @namespace http://stackoverflow.com/users/1907358/connor-js
// @version 0.1
// @description Does what it says on the tin.
// @match http://*.stackoverflow.com/*
// @copyright 2012+, You..........
// ==/UserScript==
var styles = document.createElement('style');
styles.textContent = '.topbar{background:#EEE;border-bottom:1px solid #E6E6E6}.topbar *{color:#000!important}#search input{border-color:#DDD}.topbar .topbar-icon:hover,.topbar .topbar-links .profile-me:hover,.topbar .topbar-links .topbar-menu-links a:hover{background-color:#E6E6E6}';
document.head.appendChild(styles);
$(function() {
$('.topbar-menu-links').prepend('<a href="/chat">chat</a>');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment