unintended / download-organizer-chrome-extension

Chrome extesion that allows you to set custom download locations with a flexible regexp-based rules.
MIT License
68 stars 8 forks source link

[SUGGESTION] "initialUrl" parametr, the url of page where "download button" were clicked #64

Open TuTAH1 opened 1 year ago

TuTAH1 commented 1 year ago

Usage example: Organizing downloads by games folders when downloading mods in Nexus Mods. url and finalUrl are the same and don't have the name of a game for which the mod is being downloaded, while initial url have (initialUrl = "https://www.nexusmods.com/tinytinaswonderlands/mods/52?tab=files&file_id=121", with regex .+?:\/\/([^\/]+)\/([^\/]*) I get an appropriate for folder name "tinytinaswonderlands" 2nd match)