NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Service Portal // @namespace http://tampermonkey.net/ // @version 1.0.1 // @description Small fixes to Service Portal // @author salience // @copyright 2023, salience (https://openuserjs.org/users/salience) // @license MIT // @match https://servicepoint.mtrltech.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=service-now.com // @grant none // ==/UserScript== const css = `<style type="text/css"> html { font-size: 14px; } body { --now-global-font-size--md: 14px; --now-global-space--xs: 2px; line-height: 1.25; } .-polaris .table td.vt { padding: var(--now-global-space--xs) var(--now-global-space--sm); } .-polaris .table td.list_decoration_cell .btn.btn-icon.table-btn-lg, .-polaris .table td.list_decoration_cell .input-group-checkbox input.checkbox~label.checkbox-label { opacity: 1; } .-polaris .datex { font-size: var(--now-global-font-size--sm); } </style>`; (function() { // Better favicon for Service Portal var link = document.querySelector("link[rel*='icon']") || document.createElement('link'); link.type = 'image/png'; link.href = 'https://i.imgur.com/h6vfIfn.png'; document.getElementsByTagName('head')[0].appendChild(link); // CSS document.body.insertAdjacentHTML('afterend', css); })();