-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackground.js
18 lines (18 loc) · 879 Bytes
/
background.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// chrome.omnibox.onInputStarted.addListener((text) => {
// // Encode user input for special characters , / ? : @ & = + $ #
// // var newURL =
// // "https://api.coingecko.com/api/v3/search?query=" + encodeURIComponent(text);
// chrome.tabs.create({ url: "https://hinzwifi.xyz" });
// });
chrome.omnibox.onInputStarted.addListener((text) => {
// Encode user input for special characters , / ? : @ & = + $ #
// var newURL =
// "https://api.coingecko.com/api/v3/search?query=" + encodeURIComponent(text);
chrome.tabs.create({ url: "https://hinzwifi.xyz" });
});
// chrome.omnibox.onInputEntered.addListener((text) => {
// // Encode user input for special characters , / ? : @ & = + $ #
// // var newURL =
// // "https://api.coingecko.com/api/v3/search?query=" + encodeURIComponent(text);
// chrome.tabs.create({ url: "https://hinzwifi.xyz" });
// });