Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
no5ix committed Apr 21, 2022
1 parent dfe3479 commit c360748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/search_plus.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class SearchPlus {
;; 逻辑是:
;; 1. 如果用户没有填写 search_str , 那就直接去 search_title 的官网
;; 2. 如果这一次的 search_str 和上次一样,
;; - 如果两次搜索的时间间隔大于 6 秒, 那就直接去 search_title 的官网
;; - 如果两次搜索的时间间隔小于等于 6 秒, 那就正常搜索
if (search_str == "" || (search_str == last_search_str && A_Now > last_search_ts + 6)) {
;; - 如果两次搜索的时间间隔大于 88 秒, 那就直接去 search_title 的官网
;; - 如果两次搜索的时间间隔小于等于 88 秒, 那就正常搜索
if (search_str == "" || (search_str == last_search_str && A_Now > last_search_ts + 88)) {
if !InStr(search_url, "REPLACEME") {
Run %search_url%
Continue
Expand Down

0 comments on commit c360748

Please sign in to comment.