greasyfork.org

maximale Fensterbreite nutzen

As of 05.12.2017. See ბოლო ვერსია.

// ==UserScript==
// @name         greasyfork.org
// @namespace    http*://greasyfork.org/*
// @version      0.1
// @description  maximale Fensterbreite nutzen
// @author       chillchef
// @match        http*://greasyfork.org/*
// @grant        none
// ==/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 = "80%";}catch(exp){} //suchergebnisse;
    try{document.getElementById("user-script-list").style.width = "80%";}catch(exp){} //suchergebnisse;
    try{document.getElementById("script-list-option-groups").style.width = "17%";}catch(exp){} //sidebar;
})();