Page 1 of 2

A bug of flashblock function

Posted: Thu Jun 21, 2012 8:14 am
by royallin
Tested in
Firefox3.6.24~Firefox16.0(nightly)
Noscript2.4.1rc1~2.4.7rc3
When noscript's "flash blcok"function was checked.
Upload filed was broken in www.115.com or some other website,like on line music and edg.

A gif video:
Full screen in http://imgur.com/TT68q
http://i.imgur.com/TT68q.gif?1
Image

Re: A bug of flashblock function

Posted: Thu Jun 21, 2012 12:20 pm
by Thrawn
Hi, royallin.

I couldn't get all of the details from your GIF video, sorry, because I don't speak your language (Chinese?). However, it looks like what happened is:
  • The upload required a Flash object. NoScript blocked this and gave you a placeholder.
  • You clicked the placeholder, chose a file, but nothing happened; no progress bar.
  • You reloaded the page, with the same results.
  • You went to the NoScript menu, and allowed all objects from the site, rather than just the specific one. It still didn't work.
  • You reloaded the page again, and it now worked.
Is that correct?

Re: A bug of flashblock function

Posted: Thu Jun 21, 2012 2:15 pm
by royallin
Thrawn wrote:Hi, royallin.

I couldn't get all of the details from your GIF video, sorry, because I don't speak your language (Chinese?). However, it looks like what happened is:
  • The upload required a Flash object. NoScript blocked this and gave you a placeholder.
  • You clicked the placeholder, chose a file, but nothing happened; no progress bar.
  • You reloaded the page, with the same results.
  • You went to the NoScript menu, and allowed all objects from the site, rather than just the specific one. It still didn't work.
  • You reloaded the page again, and it now worked.
Is that correct?
Yes! :D b
All allowed all objects from the site *@http://115.com OR shockwave-flash@http://115.com and the page must be
reloaded again .

Re: A bug of flashblock function

Posted: Fri Jun 22, 2012 12:47 am
by Thrawn
Probably the page relies on a Flash object running when the page loads. You might be able to find the specific Flash object via the NoScript menu, instead of allowing all, but I think that reloading the page will be unavoidable. For now, you can make it work by allowing all and reloading, yes? Maybe you can experiment and see what is the minimum that you need to allow.

I don't think that this is a bug in NoScript. It's just a complex page design.

Re: A bug of flashblock function

Posted: Fri Jun 22, 2012 4:09 am
by royallin
Thrawn wrote:Probably the page relies on a Flash object running when the page loads. You might be able to find the specific Flash object via the NoScript menu, instead of allowing all, but I think that reloading the page will be unavoidable. For now, you can make it work by allowing all and reloading, yes? Maybe you can experiment and see what is the minimum that you need to allow.

I don't think that this is a bug in NoScript. It's just a complex page design.
Yes.but the rule "shockwave-flash@http://115.com " can't can be write into the whitelist of the onscript option.
The upload files is working well without "forbit flash".Hope noscript can fix it,just like the other ,click the placeholder.
Another gif video:http://imgur.com/mFoa8
http://i.imgur.com/mFoa8.gif
Image

Re: A bug of flashblock function

Posted: Fri Jun 22, 2012 6:32 am
by Thrawn
It sounds like you need to switch off Options-Embeddings-"Apply these restrictions to whitelisted sites too". You can still block Flash for untrusted sites, but allow it for trusted ones.

Re: A bug of flashblock function

Posted: Fri Jun 22, 2012 7:35 am
by royallin
Thrawn wrote:It sounds like you need to switch off Options-Embeddings-"Apply these restrictions to whitelisted sites too". You can still block Flash for untrusted sites, but allow it for trusted ones.
Yes, you are right.But the problem is i need it in the whitelisted sites too. :roll:

Re: A bug of flashblock function

Posted: Fri Jun 22, 2012 9:19 am
by Thrawn
If you're confident editing about:config, then you can try editing noscript.allowedMimeRegExp. See http://forums.informaction.com/viewtopi ... =23&t=6701 for more details.

Re: A bug of flashblock function

Posted: Fri Jun 22, 2012 1:30 pm
by royallin
Thrawn wrote:If you're confident editing about:config, then you can try editing noscript.allowedMimeRegExp. See http://forums.informaction.com/viewtopi ... =23&t=6701 for more details.
Thank you!


I tryed application/shockwave-flash@https?://.*115\.com
Even application/.*@.*

It's still the same. :|


The noscript menu without make the change permanent.Just temporary.

Re: A bug of flashblock function

Posted: Sat Jun 23, 2012 4:45 am
by Thrawn
You might need to wait for NoScript 3.x for the desktop or use ABE...there's a post at the top of the support board about site-specific permissions.

Re: A bug of flashblock function

Posted: Sat Jun 23, 2012 6:01 am
by royallin
Thrawn wrote:You might need to wait for NoScript 3.x for the desktop or use ABE...there's a post at the top of the support board about site-specific permissions.
Thank you!

Re: A bug of flashblock function

Posted: Wed Jun 27, 2012 3:01 am
by therube
Try:

Code: Select all

application/x-shockwave-flash@https?://115\.com
That looks to be working.

(click to play) http://v6.tinypic.com/player.swf?file=2zi7hc0

Re: A bug of flashblock function

Posted: Wed Jun 27, 2012 6:41 am
by royallin
therube wrote:Try:

Code: Select all

application/x-shockwave-flash@https?://115\.com
That looks to be working.

(click to play) http://v6.tinypic.com/player.swf?file=2zi7hc0
Awesome, :D IT's worked!
Thank you!
1 请问是怎么找到 x-shockwave-flash的?noscript里的提示也只有shockwave-flash。
2 请问你通常混那些火狐中文论坛?欢迎到www.firefox.net.cn和g.mozest.com交流。


MOD_EDIT: Not sure why we need the statement of thanks finished with the Chinese but here is my rusty translation:
1 How may I ask finding x-shockwave-flash? the noscript tips also only shockwave-flash.
2 Do you usually interact with Firefox Chinese forum? Welcome to www.firefox.net.cn, and g.mozest.com exchange.

NOTE: To me it seems like a blatant and unnecessary plug, but will leave it to Giorgio's discretion.

Re: A bug of flashblock function

Posted: Sun Jul 22, 2012 9:44 am
by royallin
royallin wrote:
MOD_EDIT: Not sure why we need the statement of thanks finished with the Chinese but here is my rusty translation:
1 How may I ask finding x-shockwave-flash? the noscript tips also only shockwave-flash.
2 Do you usually interact with Firefox Chinese forum? Welcome to www.firefox.net.cn, and g.mozest.com exchange.

NOTE: To me it seems like a blatant and unnecessary plug, but will leave it to Giorgio's discretion.
Mod_edit by GµårÐïåñ.
Re GµårÐïåñ:
Thanks for the translation,it's pretty good. :D
Because of the video by therube,so i think he or she is a chinese,so i want to share the forum with. :D

Re: A bug of flashblock function

Posted: Mon Jul 23, 2012 11:26 pm
by GµårÐïåñ
royallin wrote:Re GµårÐïåñ:
Thanks for the translation,it's pretty good. :D
Because of the video by therube,so i think he or she is a chinese,so i want to share the forum with. :D
HE is not Chinese and as the handle suggests "therube" he is full blooded American from somewhere in the good old east of the midwest in Maryland somewhere. Posting in Chinese doesn't help him and I understand it because I've been a Marine for 15+ years. @therube, correct me if I am wrong.