Add gh/gH to open home page

This commit is contained in:
Shin'ya Ueoka 2018-12-09 10:19:08 +09:00
parent b735317c60
commit 1f89464e42
8 changed files with 65 additions and 13 deletions

View file

@ -26,7 +26,7 @@ const paste = (win, newTab, searchSettings) => {
if (win.document.execCommand('paste')) {
let value = textarea.textContent;
let url = urls.normalizeUrl(value, searchSettings);
let url = urls.searchUrl(value, searchSettings);
browser.runtime.sendMessage({
type: messages.OPEN_URL,
url,