setSearchEnginePermission_ = async (checkbox) => {
  const urls = OPTIONAL_PERMISSIONS_URLS[checkbox.id];
  if (checkbox.checked) {
    checkbox.checked = false;
    const granted = await browser.permissions.request({origins: urls});
    checkbox.checked = granted;
  } else {
    browser.permissions.remove({origins: urls});
  }
}
Add other search engines domain on user input
@param {Element} checkbox