您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Minor visual tweaks to StackExchange (remove the new sidebar from Q/A pages, for classic look)
当前为
// ==UserScript== // @name StackExchange Tweaks // @namespace SET // @description Minor visual tweaks to StackExchange (remove the new sidebar from Q/A pages, for classic look) // @version 1.0.6 // @license MIT // @include https://stackoverflow.com/* // @include https://superuser.com/* // @include https://serverfault.com/* // @include https://*.stackexchange.com/* // @grant GM_addStyle // ==/UserScript== // Swap the positions of the notifications block and the username/stats block //var secondaryNav = document.querySelector('.secondary-nav') //secondaryNav.parentNode.insertBefore(secondaryNav, secondaryNav.parentNode.firstChild) var profileElementInner = document.querySelector('.my-profile'); if (profileElementInner) { var profileElementContainer = profileElementInner.parentNode; profileElementContainer.parentNode.appendChild(profileElementContainer); } else { console.warn("Could not find .my-profile element"); } // Hide the sidebar when we are on question pages (to reduce visual noise) if (document.location.pathname.match(/^\/(q|questions)\//)) { GM_addStyle('#left-sidebar { display: none; } #content { border-left: none; }'); }