Twitter Click'n'Save

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

< Părere la script-ul Twitter Click'n'Save

Recenzie: Bun, script-ul merge

§
Postat în: 27-04-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
§
Postat în: 27-04-2025
Editat în: 27-04-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.

§
Postat în: 28-04-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
§
Postat în: 28-04-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

§
Postat în: 28-04-2025

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

Thank you once again for creating this script.

Postează un raspuns

Autentifică-te pentru a posta un răspuns.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元