Twitter Click'n'Save

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

< Σχολιασμός για τον κώδικα Twitter Click'n'Save

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 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?

AlttiRiΔημιουργός
§
Δημοσιεύτηκε: 27/04/2025
Επεξεργάστηκε: 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.

§
Δημοσιεύτηκε: 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]

AlttiRiΔημιουργός
§
Δημοσιεύτηκε: 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

§
Δημοσιεύτηκε: 28/04/2025

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

Thank you once again for creating this script.

AlttiRiΔημιουργός
§
Δημοσιεύτηκε: 05/05/2025

I have updated the script, to make all filename pattern things are located in one place:

https://github.com/AlttiRi/twitter-click-and-save/blob/9ef65b6b7fdec697de7af413070318b4c3ce605c/twitter-click-and-save.user.js#L98-L123

§
Δημοσιεύτηκε: 10/05/2025

I really appreciate your help!!
It has become more convenient to use.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.