Conflict betwen Noscript and slovari.yandex.ru

Ask for help about NoScript, no registration needed to post
Renji

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by Renji »

barbaz wrote:Not here.. I cannot reproduce the problem (nor what therube sees) from that test case. Image
What am I missing?
Maybe this related to browser/OS version? Although I'm and therube use different OS and browser (if therube don't change his useragent), but have same bug. Can you try test case in some Debian Live-CD (in VirtualBox if you worry about security)? It's don't request much time, because live-CD don't request any installation.
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by barbaz »

Renji wrote:Can you try test case in some Debian Live-CD (in VirtualBox if you worry about security)? It's don't request much time, because live-CD don't request any installation.
Sure, but it'll have to be in VirtualBox, but it's more of a stability question for me than a security question. My computer got killed twice last week, and it cost me half the week getting it back. I really can't afford to lose it yet again.
Downloading Debian 8.3.0 amd64 Cinnamon live ISO now...
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by barbaz »

... and can't reproduce there either.
Since I can't copy+paste into the live environment, I'm serving the test page off my local server.

I'm doing the following steps:
1) load the live image into blank VM
2) start Iceweasel 38.5.0, install NoScript
3) Navigate the test page on my local server. Temporarily Allow my server, since the page requires script to respond
4) Click the text field, which is pre-filled with "test", and hit Enter.

Page gets redirected to /search.xml (which I redirected to a "diagnostic" page on my server, for convenience) - all this happens successfully.
However, on repeating the steps trying typing something else in the text field, I noticed that the autocomplete popup tries to auto-fill the field with what I typed before. I don't have autocomplete on in my main environments. Could the hitting enter twice thing be autocomplete-related? Image
*Always* check the changelogs BEFORE updating that important software!
-
Renji

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by Renji »

barbaz wrote:Since I can't copy+paste into the live environment, I'm serving the test page off my local server.
Just open this thread in browser and copy HTML sample from browser to local file.
barbaz wrote:3) Navigate the test page on my local server. Temporarily Allow my server, since the page requires script to respond
This bug appear only if scripts NOT allowed in NoScript. And no, testing page don't request any scripts. It classical GET request with some strange onClick event.
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by barbaz »

Renji wrote:This bug appear only if scripts NOT allowed in NoScript. And no, testing page don't request any scripts. It classical GET request with some strange onClick event.
With scripts disallowed pressing enter does nothing at all, regardless of how many times.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by therube »

With scripts disallowed pressing enter does nothing at all, regardless of how many times.
On my end, first click is "dead", second click works as expected.

(Hitting Return instead of clicking the button does the same. Once the search has completed, it will continue to work. So to see the issue again, you need to open the link in a new tab.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 SeaMonkey/2.39
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by barbaz »

OK the relevant setting in NS is
NoScript Options > Advanced > Untrusted > Attempt to fix JavaScript links

This message shows up in the Browser Console (Ctrl-Shift-J) every time I click the Submit button or hit enter:

Code: Select all

HEAD XHR http://[MY_SERVER]/[path to directory containing test page]/b-form-button [HTTP/1.1 404 Not Found 0ms]
This request is coming from NoScript, but I have no understanding of why it'd do that... Image

But I still don't understand why I'm getting such different behavior than everyone else here.
EDIT Oh, maybe you all are testing with the actual yandex site while I'm using the test page provided by Renji?
*Always* check the changelogs BEFORE updating that important software!
-
Renji

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by Renji »

barbaz wrote:With scripts disallowed pressing enter does nothing at all, regardless of how many times.
Yes, same for me, if use HTML example. Now remove NoScript (via about:addons "remove"+"restart now" buttons), go to about:config and set javascript.enabled to false. After this pressing enter must work, although scripts still disable.
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2
Renji

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by Renji »

barbaz wrote:OK the relevant setting in NS is
NoScript Options > Advanced > Untrusted > Attempt to fix JavaScript links
Yes, disable "fix JavaScript links" resolve problem.
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by barbaz »

Not sure that's a resolution, as this looks to me like it could be a NS bug?
*Always* check the changelogs BEFORE updating that important software!
-
Renji

Re: Conflict betwen Noscript and slovari.yandex.ru

Post by Renji »

barbaz wrote:Not sure that's a resolution, as this looks to me like it could be a NS bug?
Temporally resolution if you don't need "fix links" option. But yes, it's still a bug.
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2
Post Reply