VoidPaste

Auto transform pasted image links.

Versione datata 20/09/2023. Vedi la nuova versione l'ultima versione.

Autore
voidnyan
Valutazione
0 0 0
Versione
0.1
Creato il
20/09/2023
Aggiornato il
20/09/2023
Dimensione
946 Byte
Licenza
MIT
Applica a

This script surrounds pasted image links with image and link tags.
Add your desired image sharing domain(s) to the imageUrls array. You can also define the image width that you use.

This is mostly created to fit my use case, so there is not much parsing or handling of the pasted content.
It should work when you paste a link that starts with one of the domains defined.
You can even paste multiple links, if they are separated by line breaks.

https://i.ibb.co/C5gmSZh/Chihayafuru-2020-S03-E17-00-07-25.jpg

=>

[ img320(https://i.ibb.co/C5gmSZh/Chihayafuru-2020-S03-E17-00-07-25.jpg) ](https://i.ibb.co/C5gmSZh/Chihayafuru-2020-S03-E17-00-07-25.jpg)

长期地址
遇到问题?请前往 GitHub 提 Issues。