greasyfork.org

maximale Fensterbreite auf greasyfork.org nutzen

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         greasyfork.org
// @namespace    http*://greasyfork.org/*
// @version      0.14
// @description  maximale Fensterbreite auf greasyfork.org nutzen
// @author       chillchef
// @match        http*://greasyfork.org/*
// @match        http*://sleazyfork.org/*
// @grant        none
// @run-at       document-idle
// ==/UserScript==

(function() {
    'use strict';
    try
    {
        var e = document.getElementsByClassName("width-constraint");
        e[0].style.maxWidth = "95%"; //header
        e[1].style.maxWidth = "95%"; //content
    }catch(exp){}
    try{document.getElementById("browse-script-list").style.width = "100%";}catch(exp){} //suchergebnisse;
    try{document.getElementById("user-script-list").style.width = "100%";}catch(exp){} //suchergebnisse;
    try{document.getElementById("script-list-option-groups").style.width = "100%";}catch(exp){} //sidebar;
    try{document.getElementById("carbonads").style.height = "0px";}catch(exp){} //carbon werbung
    //try{document.getElementsByClassName("adsbygoogle")[0].style.height = "0px";}catch(exp){} //google werbung
})();