This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
var search = function(){
|
|
$("#search").submit(function(){
|
|
var val=$("#googlesearch").val();
|
|
if(val=="") return false;
|
|
val.replace(" ", "+");
|
|
//replace the zh-tw to something
|
|
window.open("https://www.google.com.tw/#hl="+o.currentLanguage+"&q="+val);
|
|
return false;
|
|
});
|
|
} |