Herbert (OP)
|
|
April 01, 2012, 09:39:56 AM Last edit: April 04, 2012, 09:21:53 AM by Herbert |
|
Just tried to add a bitcoin-uri to my signature, but no luck. Board keeps adding "http://"-prefix as it does not recognize the bitcoin-uri. What i want to do: [url=bitcoin:12AxBpvmqzYbSHmvZML6Xv9TPncJgdnikm?label=Herbert]12AxBpvmqzYbSHmvZML6Xv9TPncJgdnikm[/url]
What gets stored: [url=http://bitcoin:12AxBpvmqzYbSHmvZML6Xv9TPncJgdnikm?label=Herbert]12AxBpvmqzYbSHmvZML6Xv9TPncJgdnikm[/url]
I have no idea if this can be added easily or not...
|
|
|
|
|
Herbert (OP)
|
|
April 01, 2012, 06:17:17 PM |
|
@Mods: Any chance to get this integrated? It's kinda shame that our forum doesn't support our own standards...
|
|
|
|
ThomasV
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
April 01, 2012, 06:18:28 PM |
|
@Mods: Any chance to get this integrated? It's kinda shame that our forum doesn't support our own standards... I think it all depends on theymos
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Red Emerald
|
|
April 01, 2012, 06:20:01 PM |
|
I'll make sure my forum software can do this. I didn't think about non-HTTP links.
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5348
Merit: 13316
|
|
April 01, 2012, 08:12:29 PM |
|
Like I said in that thread, someone needs to thoroughly test the modifications. I think I see a bug in Luke-Jr's patch, actually. This regex doesn't have a closing ~: '~\b([1-9A-HJ-NP-Za-km-z]{26,35})\b'
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
ThomasV
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
April 01, 2012, 08:30:50 PM |
|
Like I said in that thread, someone needs to thoroughly test the modifications. I think I see a bug in Luke-Jr's patch, actually. This regex doesn't have a closing ~: '~\b([1-9A-HJ-NP-Za-km-z]{26,35})\b' theymos, I believe that you are the most capable of testing and fixing this patch. in addition, I think that it is not a complex patch, but a fairly simple one. the question is, do you want to do it?
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5348
Merit: 13316
|
|
April 01, 2012, 08:48:48 PM |
|
I don't have a test forum set up and I don't care enough about it to set one up for this.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5348
Merit: 13316
|
|
April 04, 2012, 05:36:37 AM Merited by PowerGlove (1) |
|
OK, they're allowed now. Plain addresses won't be auto-converted to links, and I modified Luke-Jr's regex to be less greedy about converting bitcoin: text to links.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
ThomasV
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
April 04, 2012, 05:49:40 AM |
|
OK, they're allowed now. Plain addresses won't be auto-converted to links, and I modified Luke-Jr's regex to be less greedy about converting bitcoin: text to links.
cool, thanks! test: bitcoin:1DRtJjBzR59Vg76mJ4vU1d1Gji9zNK4PT9
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Herbert (OP)
|
|
April 04, 2012, 09:21:38 AM |
|
Great! Thanks theymos
|
|
|
|
rjk
Sr. Member
Offline
Activity: 448
Merit: 250
1ngldh
|
|
April 04, 2012, 02:22:50 PM |
|
Sweet. Now I wonder if there is some way I can make Firefox interpret that URI as a blockexplorer link. Hmm...
|
|
|
|
Red Emerald
|
|
April 04, 2012, 06:36:22 PM |
|
Sweet. Now I wonder if there is some way I can make Firefox interpret that URI as a blockexplorer link. Hmm...
I'm sure greasemonkey can. Of course, greasemonkey could have done it even without the forum being modified.
|
|
|
|
|