3 ms·
Anyone know what the HTML is for adding my onion address to my page for people visiting from the normal web entrance? I looked through the changelog for the bit
by superkuh 6y ago
Anyone know what the HTML is for adding my onion address to my page for people visiting from the normal web entrance? I looked through the changelog for the bit about this auto-detection but didn't see it. Is it some sort of link tag thing in the <head> like,
<link rel="alternate" title="my site but on tor" href="superkuhbitj6tul.onion" />
- ASVVVAD 6y agoIt's HTTP headers not HTML as far as I could tell. The article didn't say the exact name of the header but it mentions support.torproject.org uses it so looking into its headers: $ curl -I https://support.torproject.org/ [redacted] Onion-Location: http://4bflp2c4tnynnbes.onion/index.html [redacted]
- superkuh 6y agoThanks! That was easy to implement.