Fivefold / linkding-injector

Injects search results from the linkding bookmark service into search pages like google and duckduckgo
MIT License
194 stars 7 forks source link

Injection in Brave Search broken after page redesign #22

Closed schossel closed 11 months ago

schossel commented 11 months ago

I can't get the extension to work anymore in Brave. It connects to linkding but doesn't inject any results into the Brave results. If I use google as search engine they are injected as intended.

Fivefold commented 11 months ago

Thank you, I can reproduce the issue. Brave Search completely redesigned their search page and got rid of the sidebar that I used to put the results in. They switched to a mobile-first design with only a single column it seems.

There's two ways to solve this. I personally don't use Brave Search, so I would kindly ask you @schossel to tell me what you as a user would prefer.

@YMan84 you originally requested support for Brave Search, maybe you want to pitch in? @Sevichecc I believe you use SearX but you at least worked on Brave Search as well. Maybe you have thoughts on this, too.

Anyway, here are the two options. Please keep in mind these are quick and dirty mockups, the actual boxes would conform closer to the page design: 1. create my own sidebar and put the injection box there. This will be the only sidebar content, since all regular content is in the main column in this new design:

image

2. put the injection box in the main column, pushing down secondary results. For this option there would also be the question of where to inject (right at the top, above News, below News)

image

schossel commented 11 months ago

If it's not too much trouble I would prefer Nr 1.

Fivefold commented 11 months ago

On further inspection Brave Search did indeed keep the sidebar. I will put it there then.

schossel commented 11 months ago

If it works, I'm the last to complain.

Fivefold commented 11 months ago

Should be fixed in v1.3.3. It's already available on firefox, the chrome web store will receive it probably within the next 24 hours. If the issue persists, please reopen this issue.

schossel commented 11 months ago

1.3.3 seems to work. Thanks!

Sevichecc commented 10 months ago

@Fivefold Thanks for the fix!