Skip to content

Instantly share code, notes, and snippets.

@E-Badapple
Created May 3, 2017 15:34
Show Gist options
  • Save E-Badapple/83679f38b540bcbfc52b7fe236b8f8d4 to your computer and use it in GitHub Desktop.
Save E-Badapple/83679f38b540bcbfc52b7fe236b8f8d4 to your computer and use it in GitHub Desktop.
Make your pixiv more wide
// ==UserScript==
// @name Wide_Pixiv
// @namespace https://gist.github.com/E-Badapple
// @version 1.0
// @description Make your pixiv more wide
// @author E-BadApple
// @match www.pixiv.net/search.php*
// @match www.pixiv.net/ranking.php*
// @grant none
// ==/UserScript==
function wide_pixiv(){
var wrappper = document.getElementById("wrapper");
var layout_body = document.getElementsByClassName("layout-body")[0];
wrapper.setAttribute("style","width:100%");
layout_body.setAttribute("style","width:100%");
}
wide_pixiv();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment