Commit 2a174533 authored by peterstory's avatar peterstory
Browse files

Switch DDG search on homepage from POST to GET

See tor-browser#40287

Also, eliminate extra "b" parameter from the search form. The
presence of "b" would reveal that the search was initiated from
the landing page, rather than the urlbar.
parent 4a258f42
......@@ -70,12 +70,12 @@
</div>
<div class="searchbox hideIfTorOff"> <!-- begin form based search -->
<form action="&aboutTor.searchDDGPost.link;" method="post">
<form action="&aboutTor.searchDDGPost.link;" method="get">
<div class="searchwrapper">
<label class="searchlabel" for="search-text">&nbsp;</label>
<input name="q" id="search-text" placeholder="&aboutTor.search.label;"
autocomplete="off" type="text"/>
<input name="b" id="search-button" value=""
<input id="search-button" value=""
title="&aboutTor.search.label;"
alt="&aboutTor.search.label;" type="submit"/>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment