Created
May 3, 2017 15:34
-
-
Save E-Badapple/83679f38b540bcbfc52b7fe236b8f8d4 to your computer and use it in GitHub Desktop.
Make your pixiv more wide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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