Block list (always on)

When I search for “Maurene Comey” the top result is from the website infowars.com.

I hope I don’t have to explain why I don’t want that one as the first result, or want to see it at all.

What I would like to have in Mojeek is a general block list of websites. I now have created one using Focus, but on every search I have to select it.

I’m looking for a block list that is always activated.

3 Likes

I had considered doing this in the past, but there is a limit to how many sites you can block in Focus: focus-templates/FAQ.md at main · Mojeek/focus-templates · GitHub

Why 25 sites?

For the initial release of Focus creations were limited to 25 sites as they need to be stored as a cookie. Uncapping this limit would be difficult, with there being a hard limit of 4096 bytes across browsers, and other problems arising if cookies are extremely long in terms of handling a Focus. This does not mean that this limit is permanent, and if there are sufficient requests then we will look into how this could be addressed to provide more functionality.

This is definitely something I want too. I had thought about writing a browser extension (or maybe just an extension inside Greasemonkey or something) for this, but removing results on the page with Javascript might result in an entirely blank page with just 10 results if they’re all on the blocklist. It’s probably workable at 40 results, though, which is the maximum.

1 Like

Noted. We are having a look at this, again.

1 Like

I don’t have a complete solution. But, there are two comments.

For web browsers that let you add custom search engines, you can add a particular Mojeek Focus as a saved search engine to your web browser:

Then, using that custom search engine, you could permanently block up to twenty-five sites.


Second, the Mojeek API is more flexible than Focus. App developers could follow this example that Colin wrote in January. Though, this example is more about including websites:

Of course, you could also implement your own blocklist that filtered an unlimited number of sites from Mojeek’s API responses.