自动在搜索条件后面增加 -csdn, 以此屏蔽csdn网站信息。只适用于google和百度的搜索页面
< Spätná väzba na google百度搜索屏蔽CSDN
有个小bug,把
if (e.key = 'Enter' && this.value.length > 0 && this.value.indexOf("-csdn") === -1) {
...
});
中的 e.key = 'Enter'
改成 e.key === 'Enter'
在google中就可以正常使用了
2024-07-05 更新 search input 查询。