WNACG排版增强

压缩bread高度,扩充图片高度

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        WNACG排版增强
// @namespace   Violentmonkey Scripts
// @match       https://www.wnacg.com/photos-view-id-*.html
// @match        http*://*.wnacg.com/photos-index-aid-*.html
// @grant       none
// @license MIT
// @version     0.51
// @author      Miroku
// @description 压缩bread高度,扩充图片高度
// ==/UserScript==


  console.log("loading script...")
  var imageElement = document.querySelector("#photo_body .photo");
  imageElement.style.maxHeight = "90vh";

  var bread = document.querySelector("#bread");
  bread.style.padding = "0";
  bread.style.margin = "0";