Yahoo mail

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

Re: Yahoo mail

Post by Mc »

That's what HttpFox shows:

Sent Received Meth. Result Type URL
442 35402 GET 200 application/pdf (NS_ERROR_ABORT) http://www.xxx/yyy.pdf
442 0 GET (Error) NS_ERROR_DOCUMENT_NOT_CACHED http://www.xxx/yyy.pdf
485 35402 GET 200 application/pdf http://www.xxx/yyy.pdf

And yes, the plugin works.
I tried it with two different files.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Mnenhy/0.7.6.666
Mc

Re: Yahoo mail

Post by Mc »

Sorry, the unfinished preview was submitted
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Mnenhy/0.7.6.666
Mc

Re: Yahoo mail

Post by Mc »

I should explain, that first load isn't aborted by NoScript even if it's a 1 MB file. And I'm on dial-in, where the download lasts for ever...
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Mnenhy/0.7.6.666
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Yahoo mail

Post by Giorgio Maone »

Still
Mc wrote:And yes, the plugin works.
How do you verify this? I disabled placeholders, and all I get is a white page.
Are you getting anything different?
Mc wrote:That's what HttpFox shows
HttpFox lies :D
When a request is aborted before the response data starts to be processed (like it happens for late post-headers blocking in NoScript), it reports as "Received" the whole byte count declared in the "Content-length" header, rather than the bytes actually received, because it had no chance to actually hook a progress listener yet.
If you sniff the real TCP traffic with wireshark or another packet sniffer, you'll notice that no more than 32KB (Gecko's read buffer) are actually read, i.e. the bare minimum needed to read the HTTP header and guess what kind of content we're going to handle (or kill, in NoScript's case).
Even in HttpFox, you can easily tell the difference between an aborted and a successful request in terms of bytes transferred by observing the byte counter rolling on this 2 megabytes PDF.
Or you can just have fun with this fake pdf, which according to HttpFox is 48KB when whitelisted and 2 Gigabytes when aborted :P
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Mc

Re: Yahoo mail

Post by Mc »

Oh dear, weird.
Yesterday it worked like I told you, even after several restarts of Fx. My eyes didn't lie when I saw it loading 1MB before the placeholder came up.
But today after a system restart it works like it should. The placeholder comes up at once. And yes, HttpFox lies :-)
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Mnenhy/0.7.6.666
nagan
Senior Member
Posts: 340
Joined: Thu Mar 26, 2009 11:05 am

Re: Yahoo mail

Post by nagan »

1.9.7
Still this yahoo mail pdf download is unresolved.I have to get in only through the context >> blocked objects. I hope this thing is sorted out soon. :(
Dreams are REAL possibilities. Pursue them with zest and you can make them HAPPEN!
You are GOD.Realize THAT!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Yahoo mail

Post by dhouwn »

nagan wrote:I have to get in only through the context >> blocked objects.
Are you blocking FRAMES/IFRAMES?
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
nagan
Senior Member
Posts: 340
Joined: Thu Mar 26, 2009 11:05 am

Re: Yahoo mail

Post by nagan »

dhouwn wrote:
nagan wrote:I have to get in only through the context >> blocked objects.
Are you blocking FRAMES/IFRAMES?
I am not blocking FRAMES/IFRAMES.

Giorgio ,is this not a priority now?
Dreams are REAL possibilities. Pursue them with zest and you can make them HAPPEN!
You are GOD.Realize THAT!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Yahoo mail

Post by Giorgio Maone »

nagan wrote:Giorgio ,is this not a priority now?
Not exactly, since it always worked that way for Yahoo! Mail attachments.
If it behaved better (simpler) for you, it was probably configuration dependent (an extension conflict, maybe?)
Anyway I may have a little idea on how to improve this: if it works, it will be in next development build.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Yahoo mail

Post by Giorgio Maone »

Please check latest development build 1.9.7.2.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
nagan
Senior Member
Posts: 340
Joined: Thu Mar 26, 2009 11:05 am

Re: Yahoo mail

Post by nagan »

There is a slight improvement but then.... I get the file saving box alert even before I click the "download file" link after the AV check. If I still click the "download file" the save file box alert is repeated again (that is totally 2 alerts..)

So something is wrong somewhere...NS is in a "hurry" mode? :cry:
Dreams are REAL possibilities. Pursue them with zest and you can make them HAPPEN!
You are GOD.Realize THAT!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Yahoo mail

Post by therube »

I have always gotten the initial (automatic) popup dialog once you clicked the 'paperclip' & the file was scanned.

And now (different) from before, I also will get an expected popup dialog if I were to manually click Download File (without having to deal with an "Unblock" menu item).
(The only reason I could see to deal with 'Download File' would be if you had dismissed the earlier automated popup dialog or if you wanted to download again).

So to me, it looks to be working as expected.

It is not NoScript that is causing the initial automatic popup dialog, it is the fact that you have Allowed yahoo.com (to run JavaScript). If you do not allow yahoo.com you will see you do not get the initial popup. Further you will notice that the virus scan & the reaction to clicking 'Download File' is exponentially quicker. (Maybe that last statement is just a fluke in yahoo's overall response.)

Though I have generated an error, at which point the 'Download File' not longer works:

Code: Select all

Error: O.contentWindow has no properties
Source File: http://mail.yimg.com/d/combo?/mg/6_0_18/js/yui_utils.js&/mg/6_0_18/js/core.js&bc/bc_2.0.4.js&/mg/6_0_18/js/darla.js&
Line: 1
(This "Line: 1" is one huge line.)

Now I'm not getting Download File to work at all, so not sure at this point if it is only a yahoo issue or NoScript related too?

What I think I did, along the line, was to click the Download File multiple times in succession. And it worked & worked & worked, ... & at some point it stopped working, & it was then that I noticed the above error. Reopening the message with the pdf, & going through the routine again, & the Download File is still not working. You can see if "fire", but no download dialog ensues.

If I log out of yahoo ... log back in, & I get the same results.

So I'd have to disable (uninstall in this case) NoScript to see if it might be a NoScript issue (but cannot do that at the moment).

And in a different (SeaMonkey 1.1.17) Profile, I am not able to replicate the error. Not understanding this, ABE locks up Fx2 for the duration of dns query, perhaps what I saw was related to that (though in the second Profile I did test with ABE both enabled & disabled).
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; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17
nagan
Senior Member
Posts: 340
Joined: Thu Mar 26, 2009 11:05 am

Re: Yahoo mail

Post by nagan »

Yeah ,checked with a clean profile. It seems the yahoo site is a little impatient and forces the choice on the user even before the user clicks "Download file" and has nothing to do with NS.

The earlier bug is gone now. :)
Dreams are REAL possibilities. Pursue them with zest and you can make them HAPPEN!
You are GOD.Realize THAT!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Yahoo mail

Post by therube »

And 'Download File' remains broken in my main Profile, even after browser restart :?:.

In addition to the Error: O.contentWindow has no properties above:

Code: Select all

Error: [Exception... "'NoScript aborted redirection to http://69.147.103.179/us.f624.mail.yahoo.com/ya/securedownload?clean=0&fid=Inbox&mid=1_25083_AFRLk0U...D09Hs&pid=2&tnef=&prefFilename=test9.pdf&cred=8h44t0t...3NF_B66Lv6...nwI.DqdNV...tM5o-&ts=1248962145&partner=ymail&sig=a8fs...d2jw--' when calling method: [nsIChannelEventSink::onChannelRedirect]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]
Got it.

This occurs if IFRAME (specifically & as opposed to FRAME) is blocked.
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; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Yahoo mail

Post by Giorgio Maone »

therube wrote:And 'Download File' remains broken in my main profile, even after browser restart :?:.
Are you blocking iframes?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Post Reply