Hi!
I’m newbie/noob so please have understanding if I’m gonna ask stupidest possible question ,but…
What attracted me to use Mojeek was this particular option…and now it is gone.
Can someone tell/link me what happened to : “One result per domain” option?
Welcome @registriraj1do6
You’re right that this option is now missing by default.
If you want to temporarily fix the issue then you can add a URL parameter to your search results.
For example, if you search on Mojeek for the keyword “royal” then you will be taken to this URL for those search results:
https://www.mojeek.com/search?q=royal
To fix the issue, add the &clufmt=0
parameter to the end of the address.
So, the corrected address would look like this:
https://www.mojeek.com/search?q=royal&clufmt=0
This will give you the option you are looking for.
The issue is that Mojeek recently changed the default settings. You can see that discussion here:
Manually Adding a Mojeek Preference Cookie
You can permanently change this preference by manually setting a browser cookie.
For example, using the Firefox web browser on the desktop:
- Visit
mojeek.com
- Right-click anywhere on the page.
-
Click on the ‘Inspect (Q)’ option in the context menu.
The Firefox Developer Tools will open. Developer Tools might open on the same page or it might open in a new window.
There is a row of tabs along the top of the Developer Tools window. For example, “Inspector”, “Console”, “Debugger”, and others.
-
Click on the Storage tab in Developer Tools.
There is a menu on the left side known as the Storage Tree. It contains items like “Cache Storage”, “Cookies”, “Indexed DB”, and others.
-
Click on the “Cookies” storage type.
-
Click on the
https://www.mojeek.com
object.Depending on your Mojeek preferences, there might be nothing showing in the main area (Table Widget), or your Mojeek preference cookies will be showing.
-
Click on the “+” icon on the top right side of Developer Tools.
This will create a template cookie.
Now edit each field of the example cookie.
At the very least, you will need to edit the ‘Name’, ‘Value’, and ‘Expires / Max-Age’ values for the new cookie.
- Double-click on the Name field.
- Change the name to ‘clufmt’.
- Double-click on the Value field.
- Change the value to ‘0’.
-
Double-click on the Expires / Max-Age field.
-
Change the date to ‘1 1 2099’ and press the Enter key.
This string will automatically be formatted to ‘Thu, 01 Jan 2099 06:00:00 GMT’, which means the cookie will be permanently set.
The finished cookie will look like this:
You may close the Developer Tools window now.
Now, if you perform the same search then you will find the behavior you wanted with no URL parameter.
Unfortunately, this preference is not currently available on the Mojeek Preferences page. So, I don’t think there is any way to permanently address this issue on mobile at this time.
If someone wanted the original clustering behavior, then you will need to follow the steps above and set two cookies. First, set clufmt to 0 as before. Second, set an additional cookie named “si” to the number of clustered results that you want. For example, set si to 10 for ten clustered results.
Let me know if you have any questions.
References
Thank you!
I’ll do as you said, but…
Is there any way to ask the developer to bring the “One result per domain” button back…for us, noobs?
Maybee it is one-liner code for the developer and for us it is …not so easy…
Sure, that makes sense. Let me see if I can get someone from Mojeek to respond tomorrow.
Welcome @registriraj1do6. Thank you for highlighting your interest in this feature.
We may restore it to the Preferences page in due course, and your interest is very much noted. It’s not a simple change to make unfortunately or we would have left it in there. I am sorry but for now you will need to use &clufmt=0 as @mike kindly and very helpfully explained.