kofigumbs / multi

Create custom, lightweight macOS apps from websites
GNU General Public License v3.0
1.3k stars 40 forks source link

Can't figure out how to download files from whatsapp #97

Open sudhz opened 2 years ago

sudhz commented 2 years ago

So, I use Multi for WhatsApp, but can't download files, even-though I set openNewWindows to Safari, my current JSON looks like -

{
  "tabs": [
    {
      "title": "WhatsApp",
      "url": "https://web.whatsapp.com",
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15"
    }
  ],
  "windowed": true,
  "openNewWindowsWith": "com.apple.Safari",
  "openNewWindowsInBackground": true
}

Still, when I click on the download button, It says the file has been downloaded, or it opens it if its a pdf. What I want is that safari should open when I click on the download button. Maybe I'm kinda new to all of this so can someone please help me if there's already some kind of workaround to this problem?

vibhav011 commented 1 year ago

Are there plans to fix this any time soon?

kofigumbs commented 1 year ago

This fix here will likely be some Custom JS script like this one. It'd be great if someone who uses Multi+WhatsApp and has a few minutes to tinker in Dev Tools could report back a script that works for them.