瀏覽代碼

[enh] browser autocompletition turned off

asciimoo 11 年之前
父節點
當前提交
3373b2c298
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      searx/templates/index.html
  2. 1
    1
      searx/templates/results.html

+ 1
- 1
searx/templates/index.html 查看文件

@@ -6,7 +6,7 @@
6 6
 <div class="center">
7 7
     <h1>searx</h1>
8 8
     <form method="post" action="">
9
-        <input type="text" name="q" tabindex="1" />
9
+        <input type="text" name="q" tabindex="1" autocomplete="off" />
10 10
         <input type="submit" value="search" />
11 11
         <p>
12 12
         {% for engine in engines %}

+ 1
- 1
searx/templates/results.html 查看文件

@@ -1,7 +1,7 @@
1 1
 {% extends "base.html" %}
2 2
 {% block content %}
3 3
 <form method="post" action="">
4
-    <input type="text" name="q" value="{{ q }}"/>
4
+    <input type="text" name="q" value="{{ q }}" autocomplete="off" />
5 5
     <input type="submit" value="search" />
6 6
 </form>
7 7
 {% for result in results %}