您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change the "Dashboard" link to direct to "Today's Tasks" by default
// ==UserScript== // @name TeamWork - Dashboard Links Mod // @namespace http://teamworkmods.lukebutler.com // @version 1.3 // @description Change the "Dashboard" link to direct to "Today's Tasks" by default // @match https://*.teamwork.com/* // @copyright 2015+, Luke Butler // ==/UserScript== var i = 0; var dashboardButton; while(i==0){ dashboardButton = document.getElementById("tl_dashboard"); if (typeof(dashboardButton) != 'undefined' && dashboardButton != null){ var i = 1; var dashboardLink = dashboardButton.getElementsByClassName("ql")[0]; dashboardLink.setAttribute("href", "dashboard?display=todaystasks"); dashboardLink.innerHTML = "Today's Tasks"; } }