-
https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/getData
-
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard
-
https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent
-
onPaste
-
getData
-
Send to server
-
Server hits Gyazo’s OAuth API https://gyazo.com/api
On the iPad to begin with.
- Take a screenshot
- Trimming.
- Send to Gyazo
- Paste the URL in the clipboard I wasn’t uploading from a browser because I was following the procedure to do so.
Cmd+Shift+4 on Mac is useful for capturing a selection, but the use case is narrow?
This page is auto-translated from /nishio/コピペでGyazoにアップロード using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.