- 我可以创建直接打开特定网页的深层链接吗?
- 这些链接可以共享吗?
1 回答
1
ThunderCore Hub 钱包支持通过 URL https://ttsite.link/深度链接到任意 URL
示例会话
$ URL=https://www.google.com
$ printf $URL | base64 -w 0 | printf 'https://ttsite.link/'$(cat)'\n'
https://ttsite.link/aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbQ==
base64来自 GNU coreutils。你也可以使用例如python:
printf $URL | python3 -c 'import sys,base64;print(base64.b64encode(sys.stdin.buffer.read()).decode("ascii"))' |
printf 'https://ttsite.link/'$(cat)'\n'
在安装了 ThunderCore Hub 应用程序的移动设备上单击https://ttsite.link/aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbQ==将在应用程序中打开 URL。
于 2020-05-22T17:09:20.587 回答