summaryrefslogtreecommitdiffstats
path: root/src/hp.html
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-07-06 19:28:13 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-07-06 19:28:13 +0200
commit3017f704d92190967815066ae686354fd5bf4edc (patch)
treeb3c14a2d57bc3f696dea72b233e6ceb65cec7316 /src/hp.html
parent0.0.22 (diff)
downloadsear.c-3017f704d92190967815066ae686354fd5bf4edc.tar
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.gz
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.bz2
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.lz
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.xz
sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.zst
sear.c-3017f704d92190967815066ae686354fd5bf4edc.zip
Diffstat (limited to 'src/hp.html')
-rw-r--r--src/hp.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/hp.html b/src/hp.html
index 050c8dd..09bd680 100644
--- a/src/hp.html
+++ b/src/hp.html
@@ -9,13 +9,12 @@
</title>
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=stylesheet href=/css.css />
- <link rel="shortcut icon" href=data:image/x-icon;, type=image/x-icon> <!-- prevents favicon lookups -->
- <link rel=icon href="data:;base64,iVBORw0KGgo=">
+ <link rel=icon type=image/x-icon href="/favicon.ico"> <!-- cd tmp; gcc ../src/icon.c; ./a.out > i.pgm; convert i.pgm src/ico.ico -->
<link title=sear.c rel=search type=application/opensearchdescription+xml href=/osdd.xml>
</head>
<body>
<form class=container action=.>
- <input accesskey=s type=text name=q value="%s" placeholder="sear.c ..." size=128/>
+ <input accesskey=s type=text name=q value="%s" placeholder="sear.c ..." size=50 />
<button type=submit value=🔍 ><span>=&gt;</span></button>
<button accesskey=f type=submit name=f value=Ʊ ><span>1.</span></button>
<button accesskey=i type=submit name=i value=🖼 ><span>[^]</span></button>
@@ -30,6 +29,11 @@
<h4 align=center>
<a href=//git.sijanec.eu/sijanec/sear.c >sear.c</a>
<!-- the following is replaced by git or ebuild version --> <!--ver-->
+ <a href=javascript:window.external.AddSearchProvider(window.location.origin+"/osdd.xml") id=r hidden=hidden >registriraj v brskalnik</a>
</h4>
+ <script>
+ if (typeof window.external.AddSearchProvider === "function")
+ document.getElementById("r").hidden = false;
+ </script>
</body>
</html>