commit d5bc7771b955864e51b5d47fe0d35ca58325663a
parent 8275a197314b41b0b74ae43d57e12d901bb1994b
Author: breadcat <breadcat@users.noreply.github.com>
Date: Mon, 2 May 2022 16:17:09 +0100
abb search prefix
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/index.html b/index.html
@@ -139,6 +139,7 @@
document.getElementById("input_source").addEventListener("keyup",handleKeyUp);
// searches
function a(t){if("a"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://www.amazon.co.uk/s?k="+str.substring(1), "_self")}else window.open("https://www.amazon.co.uk/", "_self")}
+ function abb(t){if("abb"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("http://audiobookbay.fi/?s="+str.substring(1), "_self")}else window.open("http://audiobookbay.fi/", "_self")}
function alp(t){if("alp"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://pkgs.alpinelinux.org/packages?branch=edge&arch=x86_64&name="+str.substring(1), "_self")}else window.open("https://pkgs.alpinelinux.org/packages?name=&branch=edge&arch=x86_64", "_self")}
function ans(t){if("ans"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://galaxy.ansible.com/search?deprecated=false&keywords="+str.substring(1), "_self")}else window.open("https://galaxy.ansible.com/", "_self")}
function ap(t){if("ap"!=t){str="";for(var s=t.split(" ").slice(1),o=0;o<s.length;o++)str=str+"+"+s[o];window.open("https://www.archlinux.org/packages/?sort=&q="+str.substring(1), "_self")}else window.open("https://www.archlinux.org/packages/", "_self")}