YouTube Title formatted for filename

reformats the titles of YouTube videos to be windows filename compatible on click.

Pada tanggal 12 Juni 2020. Lihat %(latest_version_link).

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Penulis
S M
Nilai
0 0 0
Versi
0.14
Dibuat
30 April 2020
Diperbarui
12 Juni 2020
ukuran
8,38 KB
Lisensi
N/A
Berlaku untuk

A very simple script. This grabs youtube video titles and removes common windows filename scheme incompatible characters. It can also be run on the description of the video in case the filename exists there instead.

It also removes some probably compatible characters because I couldn't be bothered to check each of these.

It is not automatic as lags on youtube loading titles can break automatic versions of this script. Instead 2 buttons are created above the description.

This does not use a regex to remove non alpha-numeric characters as I didn't want to deal with non-english language characters.

Characters removed = &,| ,|| ,? ,! ,@ ,.,',`,/,\,:,;,*,^,%,$,#,+,_,’,→,」 ,「 ,} ,{ ,ー ,/ ,『 ,』 ,!,,,【,】


It may require reloading the youtube page as this sometimes fails the first time a page loads or if you wait too long before running it.


Usage:

1. Click appropriate button to reformat title or description for windows. These are right above the video title.

Errors:
1. Reload the page as this often fails the first time a page loads (due to how youtube generates pages) or if you wait more than a few minutes before clicking
a. This can result in it not working
b. This can result in the title turning blank until reload