Hello,
First of all, thank you for creating and maintaining this fantastic userscript! It really improves the Snapchat Web experience.
I would like to propose a new feature that would be incredibly helpful for organization: automatically saving downloaded media into a folder named after the user's unique username.
Currently, all downloaded media from different conversations is saved into the same default "Downloads" folder. This makes it very difficult to keep track of which media belongs to which person.
When a user downloads a media file from a conversation, the script would get the contact's unique username (e.g., sarah143.74, not their display name "Sarah") and save the file to a path like Downloads/[username]/[original_filename].
A friend and I spent a lot of time investigating how this could be implemented on the web interface, but we ran into some significant challenges. Our findings were:
The unique username does not seem to be present anywhere in the conversation view's HTML.
The conversation data appears to be fetched from the server using a Protobuf format, which makes it unreadable for a simple userscript.
We did find that the unique username is visible in the UI of the "Add Friends" search results. However, trying to automate a process to scrape it from there seemed extremely complex and fragile, as it would likely break with every Snapchat update.
Interestingly, we know that this exact feature is possible on mobile, as some modded APK/IPA versions of Snapchat have successfully implemented it. This suggests the data is accessible somehow.
Given this, our question is: with your deeper knowledge of the application, do you see a viable way to implement this feature for the web version? Or were we correct in our conclusion that it's effectively blocked by the use of Protobuf on the web client?
Thank you for your time and for considering this suggestion!
Hello,
First of all, thank you for creating and maintaining this fantastic userscript! It really improves the Snapchat Web experience.
I would like to propose a new feature that would be incredibly helpful for organization: automatically saving downloaded media into a folder named after the user's unique username.
Currently, all downloaded media from different conversations is saved into the same default "Downloads" folder. This makes it very difficult to keep track of which media belongs to which person.
When a user downloads a media file from a conversation, the script would get the contact's unique username (e.g., sarah143.74, not their display name "Sarah") and save the file to a path like Downloads/[username]/[original_filename].
A friend and I spent a lot of time investigating how this could be implemented on the web interface, but we ran into some significant challenges. Our findings were:
The unique username does not seem to be present anywhere in the conversation view's HTML.
The conversation data appears to be fetched from the server using a Protobuf format, which makes it unreadable for a simple userscript.
We did find that the unique username is visible in the UI of the "Add Friends" search results. However, trying to automate a process to scrape it from there seemed extremely complex and fragile, as it would likely break with every Snapchat update.
Interestingly, we know that this exact feature is possible on mobile, as some modded APK/IPA versions of Snapchat have successfully implemented it. This suggests the data is accessible somehow.
Given this, our question is: with your deeper knowledge of the application, do you see a viable way to implement this feature for the web version? Or were we correct in our conclusion that it's effectively blocked by the use of Protobuf on the web client?
Thank you for your time and for considering this suggestion!