YouTube - Show Full View Count and Date (unless hovering)

Brings back the full view count and date to the description box.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

You will need to install an extension such as Tampermonkey to install this script.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

/* ==UserStyle==
@name           YouTube - Show Full View Count and Date (unless hovering)
@description    Brings back the full view count and date to the description box.
@namespace      lednerg
@version        23.7.26
@author         lednerg
@license        CC-BY-NC-SA-4.0
==/UserStyle== */

/* Instead of "1.7M views 2 years ago" it will say "1,739,201 views • Dec 12, 2019" in the description box.
   In case you need to see the default numbers, just hover the mouse over the description box.
   Normally there's a tooltip that appears when you hover over the view count, and it shows the full view count and date.
   This CSS script works by keeping that tooltip visible and repositioning it over the default numbers. */

@-moz-document domain("youtube.com") {

/* Places the tooltip over the "time ago" statement and mimics the font */
    #description .tp-yt-paper-tooltip {
        opacity: 1;
        transition: opacity .125s;
        display: block !important;
        position: relative;
        bottom: 101px;
        left: 2px;
        padding: 2px !important;
        padding-right: 50px !important; /* extra padding for large view counts */
        font-size: 14px !important;
        font-weight: 500 !important;
    }
/* Fade out tooltip whenever the mouse hovers over the description box (while it's collapsed) */
    ytd-watch-metadata[description-collapsed] #description:hover .tp-yt-paper-tooltip {
        opacity: 0 !important;
        transition: opacity .125s;
    }
/* Keeps tooltip's background from appearing during transitions */
    ytd-watch-metadata:not([description-collapsed]) #description .tp-yt-paper-tooltip {
        opacity: 0 !important;
        transition: opacity .125s;
    }
/* Adds the • symbol between the default view count and date in order to match the tooltip */
    #description #info span:first-child + span:before {
        content: " •";
        margin-right: -3.5px;
    }
/* Matching background color for dark mode */
    html[dark] #description .tp-yt-paper-tooltip {
        background-color: #272727 !important;
    }
      /* dark mode while hovering */
    html[dark] #description:hover .tp-yt-paper-tooltip {
        background-color: #3f3f3f !important;
    }
/* Matching background color for light mode */
    html:not([dark]) #description .tp-yt-paper-tooltip {
        color: #0f0f0f !important;
        background-color: #f2f2f2 !important;
    }
      /* light mode while hovering */
    html:not([dark]) #description:hover .tp-yt-paper-tooltip {
        color: #0f0f0f !important;
        background-color: #e5e5e5 !important;
    }

}