Add Onion-Location

So that Tor Browser will automatically switch to .onion site when loading 2047.name.

Docs: https://community.torproject.org/onion-services/advanced/onion-location/

You can add it to HTTP response header or use an HTML attribute.

e.g. www.dw.com: Onion-Location: https://www.dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid.onion/en/top-stories/s-9097

www.torproject.org: Onion-Location: http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/

www.nytimes.com: onion-location: https://www.nytimes3xbfgragh.onion/

赞同 2
99 次浏览
3 个评论
thphd 2047前站长

please test

solids Ñøñë

@thphd #144402 Works fine. It'd be perfect if appending PATH accordingly.

欲参与讨论,请 登录注册