Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
<style>a { background-color: silver; }</style>
<script>
window.onload=function() {
a=document.getElementsByTagName('a')
for (i=0;i<a.length;i++) a[i].onmouseover=function() { glossary.location='/cgi-bin/glossary.sh?'+this.innerHTML }
}
</script>
</head>
<body>
This page was made with <a href="[URL unfurl="true"]http://w3c.org/MarkUp/">HTML</a>[/URL] and <a href="[URL unfurl="true"]http://w3c.org/Style/CSS/">CSS</a>.[/URL]
The glossary search is powered by <a href="[URL unfurl="true"]http://gnu.org/software/bash/">Bash</a>.[/URL]
<hr><iframe name="glossary"></iframe>
</body>
</html>
#!/usr/bin/bash
echo -e "Content-type: text/plain\r\n\r";
grep -i "$QUERY_STRING" glossary.txt ||
echo "'$QUERY_STRING' not found in the glossary"
CSS Cascading Style Sheet
HTML HyperText Markup Language
BASH Bourne-Again SHell