// Browservice CSS fixes // version 1.0 // 2023-07-03 // Copyright (c) 2023 Created by Georgios Sokianos // Released under the GPL license // http://www.gnu.org/copyleft/gpl.html // // ==UserScript== // @name Browservice CSS fixes // @namespace none // @description Fixes css in Browservice // @include http://192.168.1.94/* // @version $VER: Browservice CSS fixes 1.0 (08.02.2023) // @url https://ko-fi.com/walkero // ==/UserScript== var css = ' \ img { width: auto; height: 99.995%; } \ '; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text/css'; if (style.styleSheet){ // This is required for IE8 and below. style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }