Twitter Click'n'Save

Add buttons to download images and videos in Twitter, also does some other enhancements.

< Opiniones de Twitter Click'n'Save

Puntuación: Bueno; el script funciona tal y como promete

§
Publicado: 27/4/2025

Thank you for the repair.
Additionally, I would like to ask if it is possible to set the time format in naming as YYYYMMDD_HHmmss?

AlttiRiAutor
§
Publicado: 27/4/2025
Editado: 27/4/2025

I already have a function for date formatting in another project, so just reused it there in the last update.

Currently, there is no option in the popup to customise the filename pattern, but if you really need this time format ("YYYYMMDD_hhmmss"), you can edit the source code at this line:

https://github.com/AlttiRi/twitter-click-and-save/blob/03b11c4183b833306a418771edf9dc36972c411c/twitter-click-and-save.user.js#L105

Note, that the script updating will overwrite the changes.

§
Publicado: 28/4/2025

Thank you for your help! This method can be implemented.
However, I would like to inquire if it's possible to change the naming order. To restore the correct date using the program, the format YYYYMMDD_hhmmss needs to be placed at the beginning, for example: [YYYYMMDD_hhmmss]-[@userID]-[filename]

AlttiRiAutor
§
Publicado: 28/4/2025

The filename may looks a bit long, but here I wrote why the used filename pattern is the way it is:

https://github.com/AlttiRi/twitter-click-and-save?tab=readme-ov-file#filename-format

I do not recommend to change it.

If you really need it and you understand what and why you do, you can additionally change two more lines in the source code:

https://github.com/AlttiRi/twitter-click-and-save/blob/eafe8a635b85aa34e19e79cbf0aa99d762c58661/twitter-click-and-save.user.js#L671 https://github.com/AlttiRi/twitter-click-and-save/blob/eafe8a635b85aa34e19e79cbf0aa99d762c58661/twitter-click-and-save.user.js#L933

§
Publicado: 28/4/2025

I got it, thank you very much for your help.

Thank you once again for creating this script.

Publicar respuesta

Inicia sesión para responder.