I am in a dilemma here. I added two custom search engines for dict.cc and deepl.com (makes it easier to translate stuff).
if I do that with dict.cc it works fine:
as you can see, it changes the spaces to "+", and these work with dict.cc. as a matter of fact, if I manually search multi word terms on dict.cc it does replace the spaces with + by itself.
however, deepl works a bit different - if you do a manual search with deepl it does not add "+" signs, it just leaves it as spaces:
but if I do that custom search with deepl, it adds "+" signs as spaces:
which, as you can see, results in the translation no longer working
If I basically manually type the unicode character for a space - %20 - in the search query
it works again:
and if I would do the same for dict.cc:
it even works here:
long story short: would it be possible to change the search query variable "%s" here
to replace entered spaces as "%20" instead of "+", or is this a firefox thing that would need to be changed by mozilla?
I am in a dilemma here. I added two custom search engines for dict.cc and deepl.com (makes it easier to translate stuff).
if I do that with dict.cc it works fine:
as you can see, it changes the spaces to "+", and these work with dict.cc. as a matter of fact, if I manually search multi word terms on dict.cc it does replace the spaces with + by itself.
however, deepl works a bit different - if you do a manual search with deepl it does not add "+" signs, it just leaves it as spaces:![image](https://github.com/evilpie/add-custom-search-engine/assets/8898076/a08c73de-e87f-4c32-8483-d93d499f1d65)
but if I do that custom search with deepl, it adds "+" signs as spaces:
which, as you can see, results in the translation no longer working
If I basically manually type the unicode character for a space - %20 - in the search query
it works again:
![image](https://github.com/evilpie/add-custom-search-engine/assets/8898076/4ca712d5-2bef-4771-8a6a-47940faec124)
and if I would do the same for dict.cc:
it even works here:
![image](https://github.com/evilpie/add-custom-search-engine/assets/8898076/b90c6f62-03cc-489f-82ea-6b537ff68dc8)
long story short: would it be possible to change the search query variable "%s" here
to replace entered spaces as "%20" instead of "+", or is this a firefox thing that would need to be changed by mozilla?