ssborbis / ContextSearch-web-ext

Search engine manager for modern browsers
354 stars 37 forks source link

Relax Template format restrictions #542

Closed wordpure closed 2 years ago

wordpure commented 2 years ago

I want to use ContextSearch to open links in Firefox sidebar, but when I create a new search engine, I find that only filling in {searchTerms} in the Template will report an error.

Is it possible to consider using {searchTerms} as Template when the context object does not contain selection?

图片

ssborbis commented 2 years ago

It may report an error, but it should work fine. I'll double, check though.

ssborbis commented 2 years ago

You're probably having issues because the default encoding is set to UTF-8. Choose no encoding from the edit modal, and you should be ok.

wordpure commented 2 years ago

After modifying the coding to no encoding I solved the problem, thanks for your reply.