您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Style the Google Apps Script Editor
当前为
- // ==UserScript==
- // @name Google Apps Script Editor Styler
- // @description Style the Google Apps Script Editor
- // @namespace https://github.io/oshliaer
- // @domain script.google.com
- // @include https://script.google.com/d/*
- // @include https://script.google.com/macros/d/*
- // @author +AlexanderIvanov
- // @developer +AlexanderIvanov
- // @version 2017.2.23
- // @grant GM_addStyle
- // @icon https://ssl.gstatic.com/images/icons/product/script_chrome_only-256.png
- // @screenshot https://gist.githubusercontent.com/oshliaer/518246959a67699ff8fb414ad6c7aa3d/raw/3937d8308f2a7d7bd815c68cf2b4414e772c7e02/googleappsscripteditorstyler.screenshot.png
- // @license WTFPL; http://www.wtfpl.net/txt/copying
- // ==/UserScript==
- var link = document.createElement('link');
- link.rel = 'stylesheet';
- link.href = 'https://fonts.googleapis.com/css?family=Ubuntu+Mono';
- document.head.appendChild(link);
- var style = '' +
- //Autocomplete padding items
- '*,html{font-family: Ubuntu Mono !important;}' +
- //Autocomplete padding items
- '.gwt-Label.item{padding-top:2px !important; padding-bottom:2px !important;}' +
- //Autocomplete padding invert active
- '.gwt-Label.item.selected{background-color:black !important;color:white !important;}';
- GM_addStyle(style);