#shareTarget

🧿🪬🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸schizanon
2024-07-22

() can act as a for other on .

developer.mozilla.org/en-US/do

So when I added this feature to my app, it seemed fine to call the url `/share`.

And when I saved them to the I just went with it and named the table `shares`.

But here's the thing; I have my app installed on my phone too. I use the `share` feature to "post" to my website.

So, now my posts go in the `shares` table.

2023-11-14

✍️ Add Link to Trello on Android via Share Menu

I have been collecting interesting links in various Trello boards for many years ... and now have found a new and better approach to share them from Android. Thank you @snarfed.org for giving me the initial ignition.

kiko.io/post/Add-Link-to-Trell

#httpshortcuts #android #sharetarget #trello

Post "Add Link to Trello on Android via Share Menu"
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸schizanon@mas.to
2023-09-18

The #PWA #shareTarget #API has been around for like five years now and it's still not supported by #firefox or #safari

developer.mozilla.org/en-US/do

I wonder why. Don't y'all "share" things from your OS? I use it all the time on #Android. Maybe iOS users are just used to copy/pasting urls?

🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸schizanon@mas.to
2023-04-23

I've been trying to implement the #shareTarget API in my #PWA for years now and I'm *so close* to being able to accept files from a share (at least from #Chrome #Android) that I can *taste* it!!!

In manifest.json I set my `method` to "POST" and `enctype` to "multipart/form-data", but when I share to my app it just GETs the page with no POST or even querystring params.

I could try disabling the GET response and see what happens...

#rubberDucky #enhance #javaScript #progressiveWebApps

🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸schizanon@mas.to
2023-04-13

What's confusing to me is the "challenge" part. Apparently the server needs to provide it, but when? Should I send it along with every page I want to make authenticated form posts from? Or is this something I should do once, in a login form, and then send to the server to persist in a database?

Will this work for my #PWA #shareTarget posts? 🤔

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst