Add gh/gH to open home page
This commit is contained in:
parent
b735317c60
commit
1f89464e42
8 changed files with 65 additions and 13 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue