Fix Twitter Layout

fix twitter layout. Move the post box back to left side. Put titlebar inside timeline.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        Fix Twitter Layout
// @namespace   halcyon1234
// @description fix twitter layout. Move the post box back to left side. Put titlebar inside timeline.
// @include     https://twitter.com/
// @include     https://twitter.com/search
// @version     1
// @grant       none
// ==/UserScript==

function embed()
{
    if (typeof($) == "function")
    {
        $(document).ready(function()
        {
            $(".topbar.js-topbar").prependTo(".content-header");
            $(".content-header").removeClass("visuallyhidden");
            $(".timeline-tweet-box").appendTo(".DashboardProfileCard-content");
            $(".top-timeline-tweet-box-user-image").hide();
        });
    }
    else
    {
        setTimeout(embed, 400);
    }

}

var inject = document.createElement("script");

inject.setAttribute("type", "text/javascript");
inject.appendChild(document.createTextNode("(" + embed + ")()"));

document.body.appendChild(inject);