Skip to content

Instantly share code, notes, and snippets.

@constancechen
Forked from davidmerrick/gist:6252151
Created August 16, 2013 19:35
Show Gist options
  • Save constancechen/6252869 to your computer and use it in GitHub Desktop.
Save constancechen/6252869 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Unicorn Mode Plugin
// @namespace https://brewspace.jiveland.com/*
// @version 0.1
// @include https://*.brewspace.jiveland.com/*
// @include https://brewspace.jiveland.com/welcome
// @description enter something useful
// @match https://*.brewspace.jiveland.com/*
// @copyright 2012+, You
// ==/UserScript==
$j(document).ready(function(){
$j("#j-globalNav").append('<li id="jive-nav-link-places" class=" jive-nav-link-divider j-globalNav-li j-ui-elem"><a href="#" class="j-globalNavLink j-ui-elem " role="menuitem"><span class="nav-link ">Unicorns</span></a></li>');
$j("a.j-avatar").append('<span style="display: inline-block; width: 45px; height: 45px; background: url(http://i.imgur.com/djV3OMT.png) center no-repeat; position: absolute; right: -15px; top: -15px;"></span>');
});
@davidmerrick
Copy link

// ==UserScript==
// @name Unicorn Mode Plugin
// @namespace https://brewspace.jiveland.com/*
// @Version 0.1
// @include https://.brewspace.jiveland.com/
// @include https://brewspace.jiveland.com/welcome
// @description enter something useful
// @match https://.brewspace.jiveland.com/
// @copyright 2012+, You
// ==/UserScript==

$j(document).ready(function(){
$j("a.j-avatar").append('');
$j("#j-globalNav").append('

');
$j("#jive-nav-link-unicorns").on('click',
function(){
$j(".horseface").toggle();
});
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment