Mastodon/170731

// ==UserScript==
// @name         Mastodon
// @match        */*
// @grant        GM_addStyle
// @version      17.7.31
// ==/UserScript==
if( document.querySelector( '[ data-react-class = "Mastodon" ] , #mastodon' ) )
{
  GM_addStyle( [
    '.account .icon-button , body:not( .__m ) .account__header .icon-button' ,
    ' { pointer-events: none !important; }' ,
    '.dropdown__content a { width: auto!important; }' ,
    '.columns-area { height: 100%; width:100%; }' ,
    '.drawer:not( :last-child ) { width: 25%; }' ,
    '.drawer ~ * { position: absolute !important; }' ,
    '.drawer ~ .column { left: 25%; width: 25%; height: 50%; }' ,
    '.drawer + .column + .column { bottom: 0; }' ,
    '.drawer ~ *:not( :first-child ):last-child { width: 50%; right: 0; left: auto; height: 100%; }' ,
    '.drawer ~ *:not( :first-child ):last-child .column { width: 100%; }' ,
  ].join( '\n' ) ) ;
  var _x_ = document.querySelector( '.navigation-bar' ) ;
  _x_.title += '\n__s: 3-click to toggle hide followbutton' ;
  _x_.addEventListener( 'click' , function( _e_ ) { if( _e_.detail == 3 ) {
    document.body.classList.toggle( '__m' ) ;
  } } ) ;
}