Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Pitmairen/bf71aaf5f8d41b6b9f45238a2cb09d97 to your computer and use it in GitHub Desktop.
Save Pitmairen/bf71aaf5f8d41b6b9f45238a2cb09d97 to your computer and use it in GitHub Desktop.
Workaround for special search engines
Making the "chrome://history/#search/%s" search engine work in selections earch.
A workaround to make this search engine work in selections earch is to enable some options to open the
search in a new background tab. This will open the search through the background page which prevents
the search from being blocked.
A few different ways to do it, depending on what options you are using:
1. In the other options section, if both "Open search in new tab" and "Open search in background tab" is enabled:
The search should work with this configuration, but it will affect all search engine and make them open
in a new background tab.
2. If you are using only the "Open search in new tab" in the other options section:
You can enable the background tab option for a single search engine by clicking the
wrench next to the search engine. Uncheck the "Use global settings" options and
check the "Open in background tab" options. The search should now work.
3. If both "Open search in new tab" and "Open search in background tab" is disabled:
You have to temporary enable the "Open search in new tab" in the other options section.
Then follow the steps in option 2. above to enable background tab for a single engine.
Then disable the global "Open search in new tab" again.
In the wrench menu for the search engine you also have to enable the options "Negate newtab option".
This should make the search work.
For all these options the search will not work if you use the middle mouse button to open the search, but it should work
if you use the left button.
@rediffusion
Copy link

rediffusion commented Jul 2, 2022

@Pitmairen

but it should work if you use the left button.

Bro, the left mouse click doesn't work!

@Pitmairen
Copy link
Author

You sure bro? Works on my machine. Try this url: "chrome://history/?q=%s"

@rediffusion
Copy link

Uncheck the "Use global settings" options and check the "Open in background tab" options.

...works for both Left click\Middle click

  1. With the "Negate newtab option" Left click\Middle click doesn't work.
    Only if I placed the search engine in folder. Than if I click on a folder, all the links will open with chrome's History.

Anyway I'm not using it just paying attention, that's all.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment