image view fit-height furaffinity.net

make the submission image fit the height of the screen

Versão de: 09/05/2024. Veja: a última versão.

// ==UserScript==
// @name        image view fit-height furaffinity.net
// @namespace   Violentmonkey Scripts
// @match       https://www.furaffinity.net/view*
// @grant       none
// @version     1.0.0
// @author      justrunmyscripts
// @license     MIT
// @description make the submission image fit the height of the screen
// ==/UserScript==
const element = document.querySelector('#submissionImg');
element.setAttribute('style', `
  max-height: calc(100vh - 110px);
`);
长期地址
遇到问题?请前往 GitHub 提 Issues。