Skip to content

Commit

Permalink
DIE DIVS
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeballcode committed Jul 30, 2015
1 parent 71b4e1f commit dd7b082
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stackexchange/userscripts/AskubuntuStickyToolbar.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
// @grant none
// ==/UserScript==


(function() {

console.log('AskUbuntu StickyToolbar is loading...');

var head = document.getElementsByTagName('head')[0];
var stickStyle = document.createElement('link');
stickStyle.rel = 'stylesheet';
Expand All @@ -18,6 +21,9 @@
var ubuntuLinks = document.getElementsByClassName('nav-global')[0];
ubuntuLinks.parentElement.removeChild(ubuntuLinks);

var remove = document.getElementById('custom-header');
remove.parentElement.removeChild(remove);

var newUbuntuLinks = document.createElement('div');
newUbuntuLinks.className = "links";
var linksWrapper = document.createElement('div');
Expand Down

0 comments on commit dd7b082

Please sign in to comment.