Skip to content

Add Onion-Location meta tag#135

Merged
andrewdavidwong merged 1 commit intoQubesOS:masterfrom
RiccardoMasutti:patch-1
Jun 8, 2020
Merged

Add Onion-Location meta tag#135
andrewdavidwong merged 1 commit intoQubesOS:masterfrom
RiccardoMasutti:patch-1

Conversation

@RiccardoMasutti
Copy link
Contributor

Starting with the release of Tor Browser 9.5, websites can have their alternate .onion addresses advertised to Tor desktop users who have the 'Onion Location' option enabled.

Sites that add the .onion address advertisement HTTP header can prompt their visitors to switch to a version delivered using the Onion service for improved security.

Final result:
ezgif-2-354636e604ed

@RiccardoMasutti RiccardoMasutti changed the title Add Onion-Location HTTP header Add Onion-Location meta tag Jun 7, 2020
@andrewdavidwong
Copy link
Member

Very cool, thanks!

@andrewdavidwong andrewdavidwong merged commit 4d039a4 into QubesOS:master Jun 8, 2020
andrewdavidwong referenced this pull request Aug 26, 2021
HTML is hard for translators to handle (to not break markup tags).
Where easily possible html files to markdown. Otherwise, move
translatable strings to separate yaml files (in _data dir), then
use layouts and includes to combine them into original html files. In
many cases it clarifies separation between data na layout, which is good
even without the translation context.

This commit adds also language switcher (useless at this stage) and few
tags to frontmatter ('lang', 'ref') that will be used in subsequent
commits.

And additionally, the files that are changed substantially, have
whitespaces fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants