Electron-cash: Make links in outputs clickable

Created on 12 Dec 2018  路  6Comments  路  Source: Electron-Cash/Electron-Cash

As Electron-Cash shows OP_RETURN memos in outputs as default, I propose to make hyperlinks there clickable.
electron-cash_op_return message with hyperlink

We in memopay.xyz pushing microtransactions along with ad message in op_return to BCH addresses, normally such ad messages contain links, blockexplorers already made them clickable, and it would be great to have clickable links in EC wallet too.

I suppose clickable links will be useful for other services using op_return and regular users too (as EC wallet already allows users to add op_return memos to transactions).

UX and usability enhancement

Most helpful comment

I agree in principle. But if this is done, let's make very sure it's not vulnerable to XSS (html injection) attacks. So, make good use of https://docs.python.org/3/library/html.html#html.escape . :-)

All 6 comments

Ok. How about a tip? :)

(I am a volunteer you know) :P

bitcoincash:qplw0d304x9fshz420lkvys2jxup38m9symky6k028 (BCH)

blockexplorers already made them clickable

Which block explorers do this?

blockexplorers already made them clickable

Which block explorers do this?
blockchair and explorer.bitcoin.com

This is a good suggestion .. Bumping for visibility.

I agree in principle. But if this is done, let's make very sure it's not vulnerable to XSS (html injection) attacks. So, make good use of https://docs.python.org/3/library/html.html#html.escape . :-)

Definitely good point.

Was this page helpful?
0 / 5 - 0 ratings