Open SlyAceZeta opened 1 year ago
Started some work on this, but Google filter needs an update first as they're doing an A/B on search results format.
Doesn't look like it'll be possible to implement support for Bing, as they heavily obfuscate their links as part of click tracking - therefore the help wanted label. DDG seems straightforward though.
As an update, I've got a prototype for DuckDuckGo but am not exactly happy with it: DDG's web interface is rendered primarily with JavaScript, and as I intended to use isolated content scripts (as I should in Manifest V3 land) DDG's (quite clean but private) API is inaccessible. The "better" method requires script injection with no isolation. But relying on the JS interfaces which may change at any time does sound like asking for trouble.
DuckDuckGo is being worked on in #16.
I would like to request support for Startpage too, if it's not too much of a hassle.
Doesn't look like it'll be possible to implement support for Bing, as they heavily obfuscate their links as part of click tracking - therefore the help wanted label.
On Bing, the original URL can be retrieved from the u
parameter in the Bing URL, by removing the a1
prefix and decoding it as Base64.
This same problem came up for Indie Wiki Buddy https://github.com/KevinPayravi/indie-wiki-buddy/issues/448. Using this approach has allowed the extension to work successfully on Bing.
As noted by various users on this Stack Overflow post, it's unclear what the significance of a1
is, and what should be done if the prefix happens to be something other than a1
.
Thank you, that's good to know.
when will Bing filter be finished? should we add extra optimization for CN Bing?
The contributor who started implementing it seems to have stalled the work. I'm currently swarmed with other projects and university, so it may take a while before I'm able to take over.
The two that immediately come to mind are DuckDuckGo and Bing.