Hi Lukas, the only permission required by search-rust-extension is tabs, that because we can configure whether open the search result in the current tab or the new tab.
You can find the setting on the popup page.
And here is the concrete code which associated with the tabs permission:
function navigateToUrl(url) {
function nullOrDefault(value, defaultValue) {
return value === null ? defaultValue : value;
}
var openType = nullOrDefault(localStorage.getItem("open-type"), "current-tab");
if (openType === "current-tab") {
chrome.tabs.query({active: true}, function(tab) {
chrome.tabs.update(tab.id, {url: url});
});
} else {
chrome.tabs.create({url: url});
}
}
Please don’t worry about the tabs permission usage in my extension, and don’t be scared by Chrome crazy permission description.
That’s why I think it would be safer and more authorized for Rustaceans to using the extension if we transfer the project to rust-lang-nursery and publish it in the name of the Rust team.