In certain cases, searching on Mojeek can result in a HTTP 403 “Forbidden” message.
Operator with Double Quotes
One way to generate a 403 is to use double quotes with a Mojeek search operator:
intitle:"javascript switch" site:w3schools.com
That will produce the URL:
https://www.mojeek.com/search?q=intitle%3A%22javascript+switch%22+site%3Aw3schools.com
If all you have is the URL, you can decode that with urldecoder.org
Spaces in the original search are replaced with +
in the URL.
https://www.mojeek.com/search?q=intitle:"javascript+switch"+site:w3schools.com
One way to execute this search without error is to use an operator for each term:
# Query
intitle:javascript intitle:switch site:w3schools.com
# URL
https://www.mojeek.com/search?q=intitle%3Ajavascript+intitle%3Aswitch+site%3Aw3schools.com
# Decoded URL
https://www.mojeek.com/search?q=intitle:javascript+intitle:switch+site:w3schools.com
That gives W3Schools as its first result:
# Result
JavaScript Switch Statement
https://www.w3schools.com/js/js_switch.asp
... JS Arrays JS Array Methods JS Array Sort JS Array Iteration JS Array
Lone Operator
However, be careful not to use an operator by itself.
# Query
inanchor:mojeek
# URL
https://www.mojeek.com/search?q=inanchor%3Amojeek
# Decoded URL
https://www.mojeek.com/search?q=inanchor:mojeek
# Result
403 - Forbidden
Most operators will give a 403 when used alone.
site:
will give no result.
Lone Operator Table
Operator | Result
-------------------------
inanchor: HTTP 403
intext: HTTP 403
intitle: HTTP 403
inurl: HTTP 403
allinanchor: HTTP 403
allintext: HTTP 403
allintitle: HTTP 403
allinurl: HTTP 403
since: HTTP 403
before: HTTP 403
site: No result.
Vivaldi Search
Currently, Vivaldi has some quirks with respect to Mojeek.
There are four ways to invoke a search in Vivaldi:
- Searching from the Vivaldi address field.
- Searching from the Vivaldi search field.
- Searching from the Vivaldi context menu.
- Searching from the Vivaldi Quick Command prompt.
One way that Vivaldi differs from Mojeek.com is that Vivaldi will encode spaces as %20
instead of +
For simple searches, %20
works:
upside-down house near Johannesburg
https://www.mojeek.com/search?q=upside-down%20house%20near%20Johannesburg
https://www.mojeek.com/search?q=upside-down house near Johannesburg
South Africa's 'upside down' house attracts tourists
https://nypost.com/.../03/10/south-africas-upside-down-house-attrac...
HARTEBEESTPOORT, South Africa — With its roof on the ground and its floor
Vivaldi with Double Quotes
However, including double quotes in the search will produce a 403:
"upside-down house" near Johannesburg
https://www.mojeek.com/search?q=%22upside-down%20house%22%20near%20Johannesburg
https://www.mojeek.com/search?q="upside-down house" near Johannesburg
403 - Forbidden
Vivaldi with Search Operators
And using a search operator will also give a 403.
double quote site:en.wikipedia.org
https://www.mojeek.com/search?q=double%20quote%20site%3Aen.wikipedia.org
https://www.mojeek.com/search?q=double quote site:en.wikipedia.org
403 - Forbidden
If you find any other examples which give a HTTP 403. Please reply here or start a new post.