Change default engines

This commit is contained in:
q 2023-02-11 22:49:50 -05:00
parent 67d09b029e
commit 22e7caa0f5

View File

@ -6,7 +6,7 @@ function Searxng(matrixClient) {
this.cooldownImmuneUsers = [];
this.roomCooldowns = new Map();
this.searxngInstance = "";
this.searxngParameters = "enabled_engines=duckduckgo images__images,bing images__images&disabled_engines=flickr__images,nyaa__images,qwant images__images,google images__images,artic__images,deviantart__images,library of congress__images,unsplash__images,openverse__images"
this.searxngParameters = "enabled_engines=duckduckgo images__images,google images__images,bing images__images&disabled_engines=flickr__images,nyaa__images,qwant images__images,artic__images,deviantart__images,library of congress__images,unsplash__images,openverse__images"
}
Searxng.prototype.setUploadMatrixClient = function(uploadMatrixClient){ this.uploadMatrixClient = uploadMatrixClient; };
@ -191,6 +191,7 @@ Searxng.prototype.handleMessage = function(event, room) {
if (typeof results === 'undefined' || results == null || results.length <= 0) {
matrixClient.sendNotice(room.roomId, "No results found for \""+toSearch+"\"");
console.log(body);
return;
}
else if (resultIndex > (results.length - 1)) {