mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-23 05:14:26 +00:00
chore: update extension omnibox keyword
This commit is contained in:
@@ -19,7 +19,7 @@ const fetchShortcut = async (name) => {
|
||||
|
||||
const urlRegex = /https?:\/\/go\/(.+)/;
|
||||
|
||||
chrome.tabs.onUpdated.addListener(async (_, a, tab) => {
|
||||
chrome.tabs.onUpdated.addListener(async (_1, _2, tab) => {
|
||||
if (typeof tab.url === "string") {
|
||||
const matchResult = urlRegex.exec(tab.url);
|
||||
if (matchResult) {
|
||||
|
Reference in New Issue
Block a user