commit 6bde0b67905f03e0b011f0d8caae591f02659296
parent d14afc488a9d09fda481ffbb7a3d93ee3a7aa9bd
Author: breadcat <breadcat@users.noreply.github.com>
Date: Tue, 19 Apr 2022 23:44:38 +0100
Add exit and reload functions
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/index.html b/index.html
@@ -202,6 +202,8 @@
function wine(t){if("wine"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://www.winehq.org/search?q="+str.substring(1), "_self")}else window.open("https://www.winehq.org/", "_self")}
function wno(t){if("wno"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://no.wikipedia.org/w/index.php?title=Special:Search&search="+str.substring(1), "_self")}else window.open("https://no.wikipedia.org/w/index.php", "_self")}
function y(t){if("y"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://www.youtube.com/results?search_query="+str.substring(1), "_self")}else window.open("https://www.youtube.com/", "_self")}
+ function exit(){window.close()}
+ function r(){location.reload()()}
</script>
</body>
</html>