Do not automatically add other search engines

Do not automatically add other search engines

1.0.1

简介:

当您访问网站时,Chrome 会自动将网站添加到您的搜索引擎列表中,此扩展程序可以实现这一点

当您访问网站时,Chrome 会自动将网站添加到您的自定义搜索引擎列表中。此扩展可以防止这种行为。

代码:https://github.com/gkovacs/do-not-automatically-add-other-search-engines

请注意,Chrome 使用多种启发式方法来添加搜索引擎,虽然此扩展提供了最常见的方法,但我们无法提供所有这些方法。因此,一些搜索引擎可能仍然可以通过。要删除添加的搜索引擎(在本例中为关键字中包含“.”的搜索引擎),请导航至 chrome://settings/searchEngines 并运行以下代码几次(通过开发人员控制台、Command-Option-J 或Ctrl-Shift-J)

for (var x of document.querySelectorAll('.keyword-column')) {
if (x.innerText.indexOf('.') != -1) {
x.parentNode.parentNode.childNodes[1].click()
}
}


评分:

3星(共5星),共1位用户参与评分

使用人数:

35+ 位用户

版本:

1.0.1

大小:

3.21KiB

分类:

生产工具

提供方:

Stanford HCI Research Group

支持语言:

英语

更新时间:

2023-12-27 14:25:05

ID:

lejpfpoaicennngnbmkhgagndoiijjip