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

[BUG] Google search engine injection stopped working (?) #412

Open
HEmile opened this issue Oct 24, 2024 · 4 comments
Open

[BUG] Google search engine injection stopped working (?) #412

HEmile opened this issue Oct 24, 2024 · 4 comments

Comments

@HEmile
Copy link

HEmile commented Oct 24, 2024

Problem description:
I'm a fan of the Google search engine injection, but I am unable to install it any more correctly. I added it as a script as described here https://publish.obsidian.md/omnisearch/Inject+Omnisearch+results+into+your+search+engine and it registers as active, but it does not display. The server does respond correctly in that I can query https://localhost:51361/search?q=test successfully
image

Your environment:

  • Omnisearch version: 4.8.1
  • Obsidian version: 1.7.4
  • Operating system: MacOS
  • Number of indexed documents in your vault (approx.): 8000

Things to try:

  • Does the problem occur when Omnisearch is the only active community plugin: NA
  • Does the problem occur when you don't index PDFs, images, or other non-notes files: NA
  • Does the problem occur after a cache reset: NA
@scambier
Copy link
Owner

Do you see any error in the developer console (on the Google page)? If everything works well, it should only log these 2 lines
image

As it's still working for me, it's also possibly Google testing some layout changes on a limited group of users, and that broke the script.

@HEmile
Copy link
Author

HEmile commented Oct 28, 2024

It is not printing that line. It does print the following lines though (filtering by 'omnisearch'):
image

@scambier
Copy link
Owner

The userscript is only active when you're on Google, so the logs and errors will only appear there

@JeaNile
Copy link

JeaNile commented Dec 12, 2024

If you see the error "URL is not permit" in the console of the developer tools, then you can be sure it's a permission problem.

Solution: Uninstall the corresponding TamperMonkey script. After reinstalling it, a permission prompt will pop up. Just click "Allow" and the problem will be solved.

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

3 participants