K
K
Kostya2016-09-18 15:11:20
JavaScript
Kostya, 2016-09-18 15:11:20

How to add a website link to Trello?

I need to bookmark the site I'm currently on in Trello.
There is an official tool for this https://trello.com/add-card , which, using a bookmark, adds a card with the title of the current page, a link and an image to the yap.
Not satisfied, because the link is added to the attached files, but it is needed in the description of the card. It also annoys that in Safari, when you close the window, it asks for confirmation.
How to create a bookmark that adds the site to the description of the card, the title to the title, the picture to the attached files and the selected text on the page to the description?
Or - how to change the official code so that a link is added to the description?

javascript:(function(win%2Cname%2Cdesc)%7Bwin.open('https%3A%2F%2Ftrello.com%2Fadd-card'%2B'%3Fsource%3D'%2Bwin.location.host%2B'%26mode%3Dpopup'%2B'%26url%3D'%2BencodeURIComponent(win.location.href)%2B(name%3F'%26name%3D'%2BencodeURIComponent(name)%3A'')%2B(desc%3F'%26desc%3D'%2BencodeURIComponent(desc)%3A'')%2C'add-trello-card'%2C'width%3D500%2Cheight%3D600%2Cleft%3D'%2B(win.screenX%2B(win.outerWidth-500)%2F2)%2B'%2Ctop%3D'%2B(win.screenY%2B(win.outerHeight-740)%2F2))%7D)(window%2Cdocument.title%2CgetSelection%3FgetSelection().toString()%3A'')

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question