From 75c87b285e9ce8a23121f3b4bed213b2daee86e8 Mon Sep 17 00:00:00 2001 From: mengkunsoft <1163540807@qq.com> Date: Sat, 5 Sep 2020 10:40:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E7=9B=B8=E5=85=B3=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++--- css/style.css | 1 + js/script.js | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1300344..a6ee02c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ 让我帮你百度一下 - 优化版 -原始版本来自 bangbang http://lmbtfy.cn/ ,本人在原作的基础上进行了重制,风格变更为新版百度 UI,并适配了移动端 +原始版本来自 bangbang http://lmbtfy.cn/ ,本项目在原作的基础上进行了重制,风格变更为新版百度 UI,并适配了移动端 交互效果参考了 不会百度么?( http://buhuibaidu.me/ ) @@ -36,8 +36,10 @@ ### 相关项目 ----- -- Let Me Google That For You https://github.com/xb2016/lmgtfy -- Let Me Baidu That For You 原版 https://github.com/bangbang93/lmbtfy.cn +- [必应版] Ask and it is given https://github.com/MisterBoole/lmbtfy +- [谷歌版] Let Me Google That For You https://github.com/xb2016/lmgtfy +- [谷歌版] Let Me Google That For You https://github.com/yuxizhe/google +- [原版] Let Me Baidu That For You https://github.com/bangbang93/lmbtfy.cn ### 更新日志 ----- diff --git a/css/style.css b/css/style.css index 922f8b8..83c8b6c 100644 --- a/css/style.css +++ b/css/style.css @@ -151,6 +151,7 @@ html, body { border-radius: 3px; border: 1px solid #c8c8c8; outline: none; + word-break: break-all; } #output textarea:focus { border-color: #4285f4; diff --git a/js/script.js b/js/script.js index d4cac1f..3e5bde3 100644 --- a/js/script.js +++ b/js/script.js @@ -22,7 +22,7 @@ $.getUrlParam = function(name) { $(function() { var $kw = $('#kw'), - $searchSubmit = $('#search-submit'); + $searchSubmit = $('#search-submit'), $urlOutput = $('#url-output'), $tips = $('#tips'), $stop = $('#stop'), @@ -30,7 +30,7 @@ $(function() { var stepTimeout, typeInterval; - /* 获取并解析查询参数 */ + /* 获取并解析查询参数。参数加 Base64 编码是防止别人直接从链接中猜出了结果,而拒绝点击 */ var query = $.getUrlParam('q'); if(!!query) { try {