startpage

Simple text centric startpage
Log | Files | Refs | README

commit 6710a6ac87acf30fadc1bacb7cb32928525d7788
parent 709bbb0aef3d62065cb2937316a1dafa0b4502b3
Author: Peter <peter@minskio.co.uk>
Date:   Wed, 27 Apr 2022 13:55:47 +0100

Type tag unnecessary for inline javascript

Diffstat:
Mindex.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html @@ -22,7 +22,7 @@ </head> <body> <div id="introduction"> - <p><script type="text/javascript">var time=new Date;time.getHours()<12?document.write("Good Morning"):time.getHours()>=12&&time.getHours()<=17?document.write("Good Afternoon"):time.getHours()>17&&time.getHours()<=24?document.write("Good Evening"):document.write("Good Night");</script></p> + <p><script>var time=new Date;time.getHours()<12?document.write("Good Morning"):time.getHours()>=12&&time.getHours()<=17?document.write("Good Afternoon"):time.getHours()>17&&time.getHours()<=24?document.write("Good Evening"):document.write("Good Night");</script></p> </div> <div id="screen"> <div id="input"> @@ -122,7 +122,7 @@ <li><a href="https://www.zoopla.co.uk/">Zoopla Properties</a></li> </ul> </div> - <script type="text/javascript"> + <script> // filter bookmarks function filter_bookmarks(){var e,t,n,a;for(e=document.getElementById("input_source").value.toUpperCase(),t=document.getElementById("bookmarks").getElementsByTagName("li"),a=0;a<t.length;a++)((n=t[a].getElementsByTagName("a")[0]).textContent||n.innerText).toUpperCase().indexOf(e)>-1?t[a].style.display="":t[a].style.display="none"} // functions