diff --git a/misc/ebrowser/index.html b/misc/ebrowser/index.html index bf9658c..2e8fb16 100644 --- a/misc/ebrowser/index.html +++ b/misc/ebrowser/index.html @@ -255,7 +255,9 @@ You should have received a copy of the GNU General Public License along with thi }while(false); if(inputE === document.activeElement){ - if (9===e.keyCode){//tab completion + if (9===e.keyCode){ + e.preventDefault(); + tabs.children[iTab].focus(); } return; } diff --git a/misc/ebrowser/package.json b/misc/ebrowser/package.json index 38973b7..b887f00 100644 --- a/misc/ebrowser/package.json +++ b/misc/ebrowser/package.json @@ -1,4 +1,4 @@ -{"version":"1.0.39", +{"version":"1.0.40", "name": "ebrowser", "description": "The keyboard-friendly minimal suckless web browser", "main": "webview.js", @@ -9,6 +9,7 @@ "README.md", "translate.*", "mapkeys.json", + "js/*.js", "config" ], "scripts": { diff --git a/misc/ebrowser/search.json b/misc/ebrowser/search.json index 299c68a..b2c7cde 100644 --- a/misc/ebrowser/search.json +++ b/misc/ebrowser/search.json @@ -18,5 +18,6 @@ "gt":"https://kkgithub.com/search?type=Repositories&q=%s", "360":"https://so.360.com/s?q=%s", "tg":"i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s", + "cg":"i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s", "bd":"https://m.baidu.com/s?wd=%s" }