您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
タブを閉じた時、タブバーの右端に生じる隙間をすぐに埋める / Resize tabs to fill the tab bar immediately after closing a tab (Firefox 4 feature)
当前为
// ==UserScript== // @name Bug 667607 (タブを閉じた時の隙間を埋める) // @namespace https://userscripts.org/users/347021 // @version 1.1.1 // @description タブを閉じた時、タブバーの右端に生じる隙間をすぐに埋める / Resize tabs to fill the tab bar immediately after closing a tab (Firefox 4 feature) // @include main // @author 100の人 https://userscripts.org/users/347021 // @license Creative Commons Attribution 3.0 Unported License // ==/UserScript== (function () { 'use strict'; let _removeTab = gBrowser.removeTab; gBrowser.removeTab = function (aTab, aParams) { if (aParams && typeof aParams === 'object' && 'byMouse' in aParams) { delete arguments[1].byMouse; } _removeTab.apply(this, arguments); }; })();