NoScript disables imgbox.com Drag and Drop upload feature

Bug reports and enhancement requests
Post Reply
dbert
Posts: 2
Joined: Mon Sep 16, 2013 3:02 pm

NoScript disables imgbox.com Drag and Drop upload feature

Post by dbert »

Hi,

It appears that NoScript is somehow blocking the Drag and Drop upload feature on imgbox.com site. When an image is dropped there, Firefox just opens that image and nothing else happens.
I added imgbox.com to NoScript whitelist, added

Site .imgbox.com
Accept from .imgbox.com

to ABE, but upload still won't start, unless I completely disable NoScript add-on. With NoScript disabled, everything is working as it's supposed to. Am I still missing something that I can do to stop this behavior, or is there something wrong with NoScript or imgbox itself?

And thanks for this very useful security add-on, of course!
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript disables imgbox.com Drag and Drop upload featur

Post by therube »

Confirmed.
Or maybe not?

With NoScript, the "Drop Here" dialog "blows up" (enlarges) & the file loads as file:// rather then dropping.

The first time I removed NoScript, I was then able to drag & drop the file as expected.

Since then, I've been unable to drag & drop regardless of NoScript being installed or not? Instead each time the Drop Here dialog blows up & the picture is loaded as "file://" ?

http://imgbox.com/
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:25.0) Gecko/20100101 SeaMonkey/2.22a2
dbert
Posts: 2
Joined: Mon Sep 16, 2013 3:02 pm

Re: NoScript disables imgbox.com Drag and Drop upload featur

Post by dbert »

As I previously noted, I only disabled NoScript and that was enough to make imgbox upload to work as expected. I never tried to actually remove it for this purpose.

What if you try to do the same now? Just disable it on the add-ons page (click "disable" and "yes, remove all protections") and then drop a file to imgbox upload page.

Could you give it a try, please?

Another thing you could try is to restart Firefox in safe mode (restart with add-ons disabled) or even better - create a new clean profile in the profile manager (firefox -profilemanager) and try it then. I'm sure that it works with the clean profile. While it is possible, that something else can interrupt imgbox's upload scripts, I'm sure that NoScript is one of the culprits that does this. It's not like I tried it only once and jumped here to complain. ;)

At first I thought that imgbox's drag and drop scripts are just not working in Firefox, because it never worked for me, but yesterday I disabled NoScript for the first time before trying to start an upload and it worked for me for the first time. Since imgbox was already in the whitelist, I tried the ABE approach and it didn't work either. To make it work again, I had to completely disable NoScript again.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript disables imgbox.com Drag and Drop upload featur

Post by therube »

Not working - at all.
I did get it work, the one time, the very first time after disabling NoScript, but have not gotten it to work since. Each time the picture opens as a "file://" URI.
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; WOW64; rv:25.0) Gecko/20100101 SeaMonkey/2.22a2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript disables imgbox.com Drag and Drop upload featur

Post by Thrawn »

Anything in the Error Console (Ctrl+Shift+J)?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript disables imgbox.com Drag and Drop upload featur

Post by therube »

The imgbox.com page itself gives all kinds of errors.
A ton of "unknown property" messages & a couple like:

Code: Select all

Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead.
Source File: http://imgbox.com/assets/jquery.min-1e5e7298d991f4cbc95eb299f4e4da97.js
Line: 17

Warning: Use of attributes' specified attribute is deprecated. It always returns true.
Source File: http://imgbox.com/assets/jquery.min-1e5e7298d991f4cbc95eb299f4e4da97.js
Line: 17
Though dropping an image onto the page does not cause further messages to appear.

IE 10 does not work either.
They're busted.
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; WOW64; rv:25.0) Gecko/20100101 SeaMonkey/2.22a2
Post Reply