Question: How to change download path?
I understand mobile isn't supported, but I am using Kiwibrowser with Violentmonkey on Android. Android chromium based browsers can either download to "Downloads" folder on the device or SD card (which phones still have an SD card these days?!). I was wondering if I could specify a path to download Twitter images so I can sync that folder with my home computer while I'm away. The default Download folder gets a bit cluttered and messy.
Violentmonkey does not support Download API, so it will not possible to save files in a subfolder in Downloads folder.
https://violentmonkey.github.io/api/gm/#gm_download
Folders/subpaths aren't supported yet.
As far I know, mobile.twitter.com site is identical to twitter.com. So, technically, the script will work fine on the mobile version too.
I did not add
// @match https://mobile.twitter.com/*
line because https://mobile.twitter.com and https://twitter.com are different origins, so they will have the different LocalStorages — the separated download history.
However, technically, I can add an options to save the files not into LocalStorage, but into the extension's storage, so the history will be shared between both origins.
https://violentmonkey.github.io/api/gm/#gm_setvalue
BTW, is there https://mobile.twitter.com -> https://twitter.com redirect on mobile browsers?
(Is it possible to open https://twitter.com, or it will always redirect to the mobile version?)
The default Download folder gets a bit cluttered and messy.
Check this app: https://play.google.com/store/apps/details?id=net.noople.autotransfer.lite
Although, the free version have only one available rule, but it would be enough to solve your issue.
Set up the file moving of files that start with [twitter] from the Download folder to a folder you need.