#261 Autocomplete workaround

open
nobody
5
2003-12-29
2003-12-29
Anonymous
No

Edit the file
/privoxy/templates/no-such-domain
(you may want to make a backup first)
and insert the following text just below the <body>
HTML tag

<!-- Privoxy Autocomplete workaround (begin) -->
<script type="text/javascript">
var host="@host@"
var pos=host.indexOf("www")
if (pos==-1)
{
window.location="http://www.@host@.com"
}
</script>
<!-- Privoxy Autocomplete workaround (end) -->

If you know some basic JavScript you can build
variations for .net and .org.

Alex

Discussion