User:মোহাম্মদ মারুফ/common.js

mw.loader.load( "//bn.wikipedia.org/w/index.php?title=ব্যবহারকারী:মোহাম্মদ মারুফ/linkchecker.js&action=raw&ctype=text/javascript" ); var searchBox = document.getElementsByClassName("vector-search-box-input")[0]; searchBox.onkeydown = function (e) { if (e.shiftKey && searchBox.value === "") { if (e.key.toLowerCase === "t") { searchBox.value = "Template:"; } else if (e.key.toLowerCase === "c") { searchBox.value = "Category:"; } else if (e.key.toLowerCase === "m") { searchBox.value = "Module:"; } else if (e.key.toLowerCase === "u") { searchBox.value = "User:"; } else if (e.key.toLowerCase === "w") { searchBox.value = "Wikipedia:"; } else if (e.key.toLowerCase === "h") { searchBox.value = "Help:"; } else if (e.key.toLowerCase === "p") { searchBox.value = "Portal:"; } } }; //mw.loader.load("//en.wikipedia.org/w/index.php?title=User:মোহাম্মদ মারুফ/taxonomy.js&action=raw&ctype=text/javascript");