Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add searx instance "https://search.disroot.org" #351

Closed
advait404 opened this issue May 18, 2023 · 5 comments
Closed

add searx instance "https://search.disroot.org" #351

advait404 opened this issue May 18, 2023 · 5 comments

Comments

@advait404
Copy link

Describe the bug
the extension works on many searx instances, but the chatbox is not shown for the "https://search.disroot.org" instance

To Reproduce
visit https://search.disroot.org
search any query
no chat box appears

Expected behavior
chat box should appear on searching on the searx instance

Screenshots
image

Please complete the following information):

  • OS: Windows
  • Browser: firefox
  • Extension Version: 2.3.4
@josStorer
Copy link
Owner

Go to Advanced Section in Settings, and set these
image
site regex: search.disroot
input query: #q
prepend query: #sidebar
image

@advait404
Copy link
Author

Thank you! It works perfectly now.
What other values are there for the prepend query?

@josStorer
Copy link
Owner

Open the browser console and use the element selector tool to find the element you want to mount.
Then fill in its identifier in the query section.
For example, if an element has the id="sidebar" attribute, you can mount it using #sidebar.
Find detailed instructions on this site: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector.
In theory, you can add any number of websites through custom site regex and queries of this extension.

@advait404
Copy link
Author

I see, thanks a lot.
Maybe this can be added in the wiki guide, under the custom sites.

@josStorer
Copy link
Owner

I'm sorry that I got busy with other things and almost forgot about this. I have already updated the wiki.
https://github.com/josStorer/chatGPTBox/wiki/Guide#custom-site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants