Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ishandutta2007 committed Nov 22, 2023
1 parent 08e5cb4 commit 0024fd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content-script/search-engine-configs.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export interface SearchEngine {
inputQuery: string[]
bodyQuery: string[]
// inputQuery: string[]
// bodyQuery: string[]
sidebarContainerQuery: string[]
// appendContainerQuery: string[]
watchRouteChange?: (callback: () => void) => void
}

export const config: Record<string, SearchEngine> = {
openai: {
inputQuery: ['form #prompt-textarea'],
bodyQuery: ['form #prompt-textarea'],
// inputQuery: ['form #prompt-textarea'],
// bodyQuery: ['form #prompt-textarea'],
sidebarContainerQuery: 'div.overflow-hidden.w-full.h-full.relative.flex', //div[class="scrollbar-trigger"]'],//div:nth-child(1) > div:nth-child(2)'],//'nav'],//'form > div > div:nth-child(1) > div > button'],//'#__next > div:n-thchild(1) > div:n-thchild(2)'],
// sidebarContainerQuery: "#__next > div.relative.z-0.flex.h-full.w-full.overflow-hidden > div.relative.flex.h-full.max-w-full.flex-1.flex-col.overflow-hidden > main > div.flex.h-full.flex-col > div.flex-1.overflow-hidden",
// appendContainerQuery: ['#gpt-answer'], // ['div > div > div > main > div > div > div > div > div.w-full.h-32.md'],
Expand Down

0 comments on commit 0024fd6

Please sign in to comment.