您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fixes a severely broken UI flaw in YouTube by removing the annoying and unnecessary "(X)" from page titles. Seriously, I have 15 tabs in a row showing "(1) ...", obscuring the actual page titles. This is just stupid.
当前为
This is an extremely simple script.
Actually, it's more of a much-needed bug fix, as what it does is fix a severely broken UI flaw in YouTube. You may have noticed this bug when you have more than zero notifications and more than 10 tabs open.
All the page titles say "(1) ..."
, and cut off before anything meaningful is conveyed. This is not useful information, especially when it's repeated 15 times in a row. Nobody needs or wants this, so my script cuts it out of the title, all titles, permanently, so a given YouTube page can properly display "Wha ..."
for a video called What happens when you stuff a rabbit down a sinkhole?, instead of "(1) ..."
, which conveys zero information.
Because this will be loaded into random pages, everything is contained in an object called, appropriately, youtube_title_fixer
. The object exposes two functions:
kill kills the loop
init starts the loop (called automatically on page load)
It removes the annoying and unnecessary "(1)" shit from YouTube page titles.