您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enlarges the top bar, so the project title is more easily visible
// ==UserScript== // @name DECIPHER - Enlarge Project Title // @version 1.1 // @description Enlarges the top bar, so the project title is more easily visible // @author Scott Searle // @include https://survey-*.dynata.com/* // @include *selfserve // @grant none // @namespace https://greasyfork.org/users/232210 // ==/UserScript== (function() { 'use strict'; var jQuery = window.jQuery; //Need for Tampermonkey or it raises warnings. var myInitTimer = setInterval(myInitFunction,50); function myInitFunction() { //For XML views, and project view pages jQuery(".gh-support").css("max-width","30px"); //Shrinks the are the "Help" takes up on the top-right. jQuery(".gh-title").css("min-width","750px"); //Enlarges area used for "Title" of study jQuery(".gh-nav-row").css("max-width","500px"); //Deals with main tabs //For the main portal project list view jQuery(".projects-list").css("margin-left","20px"); //Make it look nice :D jQuery(".projects-list").css("margin-right","20px");//More nice stuff here jQuery(".projects-list").css("min-width","95%"); //Make the main portal larger //clearInterval(myInitTimer); } })();