YouTube Better Window Title

Add video length in minutes (rounded) and Channel Name to Window Title

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v2.0.0 2025-04-07

    v1.3.2 - fix bug when disabling 'quick report spam' and 'expand comments' features

    • Add logging
    • Update copyright year to 2025

    v1.4.0 - add ability to toggle quickreport and expandcomments options without a page reload

    • Add extra verification to querySelector functions (qsv/qsav)
    • Change 'click Spam' timeout to 250 to match 'click Report' timeout

    add titlerefresh option and use it for setTimeout

    getProp - fix bug when more than 1 level deep

    dbg() - allow enabling debugging from localStorage option. Also prepend dbg statements with 'DBG:'

    fix channel name to be the correct one (id is not unique)

    • add commented out alternate ways to get channel name, length, and title from a global object - the object only has the right data for the first video
    • maybe I can find a different global with up to date data in the future

    titlerefresh - add minimum, add validation function, set value as a Number, add recommended range, add alert if cancelling out of the prompt

    add onVideoPage() function, exit early if running in a child frame. Check that you're onVideoPage() in expandcomments and quickreport functions

    v2.0.0 - run on all youtube pages but only update title, do expandcomments and quickreport on video /watch pages so that ajax page loads don't require a refresh for the title to update anymore

  • v1.3.1 2024-10-14

    v1.3.1 - fix Quick Report Comment functionality, but turn it off by default due to some false positive event listeners on incorrect components

  • v1.3.1 2024-10-14

    v1.3.1 - fix Quick Report Comment functionality, but turn it off by default due to some false positive event listeners on incorrect components

  • v1.3.0 2024-03-24

    add @license meta key for greasyfork and update LICENSE.txt years

  • v1.3.0 2024-03-20

    v1.3.0 - report Spam comments more quickly

  • v1.2.16 2024-01-03

    v1.2.16 - fix event handler exiting improperly due to changed CSS class ordering

  • v1.2.15 2023-11-09

    v1.2.12 (2022-11-05) - change event target for createWikiLink

    v1.2.13 (2023-09-26) - run on YT shorts, auto-expand comments

    v1.2.14 - fix video date - youtube started adding time to field

    v1.2.15 - make expand comments configurable via menu option

  • v1.2.11 2022-09-17 v1.2.11 - improve wiki link event listener. switch back to tabs
  • v1.2.10 2022-09-17 v1.2.10 - don't duplicate channel name if video title starts with it and strip out leading hyphens
  • v1.2.9 2022-09-11 v1.2.9 - fix wiki link event element
  • v1.2.8 2022-09-03 v1.2.8 - add editorconfig and fix tabs/spaces
  • v1.2.7 2022-09-03 v1.2.7 - fix zim wiki link copying to clipboard
  • v1.2.6 2022-09-03 v1.2.6 - update description, README. Add to github and greasyfork
  • v1.2.5 2022-09-02 Imported from URL

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址