NoScript kills FTP folder sorting headers

Ask for help about NoScript, no registration needed to post
Rassilon
Posts: 4
Joined: Mon Dec 04, 2017 10:37 pm

NoScript kills FTP folder sorting headers

Post by Rassilon »

when visiting a whitelisted site, NoScript kills off the JavaScript table headers links created by Firefox to sort the folder view.
Currently i'm using NoScript v10.1.9.6 from AMO.

e.g. for the folder at
ftp://ftp.symantec.com/AVDEFS/symantec_antivirus_corp/
i made sure that symantec.com is whitelisted for all (not just https) accesses, but sorting the folder by clicking on the Last Modified column header or the Name header is impossible with NoScript active.

As soon as i disable the addon and i reload the folder listing, sorting FTP folder views is possible again... so, to avoid disabling the addon, i just use Google Chrome for FTP.

Any chance of ever fixing these Firefox UI elements?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript kills FTP folder sorting headers

Post by barbaz »

I can confirm the behavior using my local ftp server. Firefox 62.0, NoScript latest development build 10.1.9.6rc3, new profile

It looks like the sorting is done with an inline script, which is being blocked by NoScript.

I don't need to completely disable NoScript to get this working. It's enough to "Disable restrictions for this tab".
*Always* check the changelogs BEFORE updating that important software!
-
Rassilon
Posts: 4
Joined: Mon Dec 04, 2017 10:37 pm

Re: NoScript kills FTP folder sorting headers

Post by Rassilon »

barbaz wrote:It's enough to "Disable restrictions for this tab".
Ooooooh, i just saw that option... :shock: didn't really notice it before. :oops: :D :D :D
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
User avatar
therube
Ambassador
Posts: 7977
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript kills FTP folder sorting headers

Post by therube »

So why does Allow this tab & Allow Global work, where Allow symantec.com does not?

Note that when you Allow symantec.com, the NoScript icon does not change (from blocked).
Does this have to do with ftp:// or is there something else?
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 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript kills FTP folder sorting headers

Post by Giorgio Maone »

Using Appearance>List full addresses and setting ftp://ftp.symantec.com to TRUSTED (or doing the same manually from the "Per-site permissions" tab) works, too.
The problem is ..symantec.com implying https, http, but not ftp.
Fixing that in next release.
Also, I don't like this feature being implemented by the browser in a way that is broken by disabling JavaScript for FTP. It should work anyway. I'll check if I can do something to work around this, that I consider a longstanding Firefox bug.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
User avatar
Giorgio Maone
Site Admin
Posts: 9546
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript kills FTP folder sorting headers

Post by Giorgio Maone »

Giorgio Maone wrote: Also, I don't like this feature being implemented by the browser in a way that is broken by disabling JavaScript for FTP. It should work anyway. I'll check if I can do something to work around this, that I consider a longstanding Firefox bug.
Please check latest development build:
v 10.1.9.7rc1
=============================================================
+ FTP directory UI emulation on script-disabled domains
x Include ftp:// URLs in non-secure domain matching (thanks
Rassilon for RFE)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript kills FTP folder sorting headers

Post by barbaz »

Looks all fixed to me, thanks Giorgio! Image
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply