Nighttab: Addon ignores specified query strings in search url

Created on 4 Nov 2019  路  6Comments  路  Source: zombieFox/nightTab

I specified https://yandex.ru/search/?text=, but addon uses https://yandex.ru/search/?q=

bug

All 6 comments

I'll look into this.

Tried to investigate this futher but I'm having no luck. Especially since I can't get past this captcha test during my experiments. Some search engines just won't work with this project.

Screenshot 2020-06-10 at 12 40 25
(It's especially difficult since some of the words it shows me have Russian letters which I can't type out)

Sorry, closing as I can't do more.

Tried to investigate this futher but I'm having no luck.

The problem is that the input has static name="q". An option to change that or getting the content from the input with JS and going to the url + text in the input would fix the issue.

e.g.

form.submit = () => {
    location.href = searchUrl + document.querySelector("[name=q]").value;
};

Wish I knew that much earlier. I've made that attribute a control in the menu.

Seems to be working:

Kapture 2020-06-10 at 14 01 14

It's on master now. Will be out in the next release.

Thanks!

This feature is now on live 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxnatt picture maxnatt  路  3Comments

smaragdus picture smaragdus  路  5Comments

OofFan picture OofFan  路  5Comments

Zbergen-cli picture Zbergen-cli  路  4Comments

Q-out picture Q-out  路  5Comments