We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e1123 commit a5ca630Copy full SHA for a5ca630
chromium/extension/service-worker.js
@@ -13,7 +13,7 @@ const perplexityURL = 'https://www.perplexity.ai'
13
chrome.action.onClicked.addListener(async () => {
14
const [activeTab] = await chrome.tabs.query({ active: true, currentWindow: true }),
15
query = activeTab.url ? new URL(activeTab.url).searchParams.get('q') || 'hi' : 'hi'
16
- chrome.tabs.update(activeTab.id, { url: `${perplexityURL}/search/new?q=${query}` })
+ chrome.tabs.create({ url: `${perplexityURL}/search/new?q=${query}` })
17
})
18
19
// Suggest Perplexity on short prefix used
0 commit comments