Draggable Sidebar Elements

Fully mushable sidebar

נכון ליום 22-05-2015. ראה הגרסה האחרונה.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Draggable Sidebar Elements
// @namespace   PXgamer
// @include     *localhost:999/kat/*
// @include     *kickass.to/*
// @include     *kat.cr/*
// @description Fully mushable sidebar
// @version     1.2
// @grant       none
// ==/UserScript==

$(".sliderbox").css('background-color', 'white');
$(".sliderbox").css('z-index', '2');
$(".sliderbox").css('border', '1px white solid');
$(".sliderbox").css('border-radius', '2px');
$(".sliderbox").css('-moz-border-radius', '2px');
$(".sliderbox").css('padding', '3px');
$("#hidesidebar").after('<br/><br/><a style="float: right;" href="" id="makeDrag" onclick="return false;"><span class="postLink icon16 textButton">Make Draggable</span></a>');


$(document).delegate('#makeDrag','click', function () {
    $('#makeDrag').addClass('.disabledButton');
    $(".sliderbox").wrap('<li class="ui-state-default" style="margin-bottom:2px"></li>');
    $('#sidebar').sortable();
});