YouTube Better Window Title

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

queste sono le versioni di questo script in cui il codice è stato aggiornato Visualizza tutte le versioni.

  • v2.0.0 07/04/2025

    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 14/10/2024

    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 14/10/2024

    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 24/03/2024

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

  • v1.3.0 20/03/2024

    v1.3.0 - report Spam comments more quickly

  • v1.2.16 03/01/2024

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

  • v1.2.15 09/11/2023

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