Page 1 of 1

[resolved] Box edit broken by NoScript extension

Posted: Tue Apr 26, 2016 2:59 am
by jeremy
Hey all

I've encountered a problem with NoScript that results in the loss of some functionality with the Box online storage service. Specifically, it seems that NoScript blocks the Box Edit plugin that allows one to download MS-Office files from the website for synchronized, local editing directly from the website using Office suite applications.

I've verified that all of the elements of the box.com site are whitelisted, yet for some reason Firefox seems to think the Box Edit plugin is not installed whenever NoScript is enabled. Disabling it and restarting the browser immediately resolves the problem, but I'm getting tired of having to restart all the time just to use Box Edit.

Are there any other Box users here, or has anyone run into this (or anything similar) before? Am I missing an obvious (or perhaps a not-so obvious) setting somewhere that's causing NoScript to block use of this plugin?

Thanks all...

Jeremy

Re: Box edit broken by NoScript extension

Posted: Tue Apr 26, 2016 12:37 pm
by barbaz
Any scripts not Allowed?
You say this is a "plugin", so any Blocked Objects?

If both answers are "no", when this issue occurs, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)

Re: Box edit broken by NoScript extension

Posted: Tue Apr 26, 2016 5:23 pm
by therube
Box Edit plugin that allows one to download MS-Office files from the website for synchronized
And is that part of "Box Sync"?
(If so, nope, I'm not doing that.)

Re: Box edit broken by NoScript extension

Posted: Thu Apr 28, 2016 5:33 pm
by jeremy
I didn't know about the Browser Console; cool troubleshooting tool! Anyway, looks like ABE is blocking it:

--
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. section_application_static.min-UCoLNb.js:2:10027
[ABE] <LOCAL> Deny on {GET https://edit.boxlocalhost.com:17223/status <<< https://[company_name_redacted].app.box.com/files/0/f/2803447367/1/f_35131380701 - 11}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
[ABE] <LOCAL> Deny on {GET https://edit.boxlocalhost.com:17224/status <<< https://[company_name_redacted].app.box.com/files/0/f/2803447367/1/f_35131380701 - 11}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. section_application_static.min-UCoLNb.js:2:10027
--

Looks like I can write a rule that will allow it. Guess I'll have to look-up how to do that since I've never messed with ABE rulesets before.

Jeremy

Re: Box edit broken by NoScript extension

Posted: Thu Apr 28, 2016 5:34 pm
by barbaz
Save you some time:

NoScript Options > Advanced > ABE > SYSTEM
add at the very top

Code: Select all

Site ^https://edit\.boxlocalhost\.com:1722\d/
Accept from .app.box.com
assuming the ports used are dynamic in range 17220-17229

Re: Box edit broken by NoScript extension

Posted: Thu Apr 28, 2016 5:35 pm
by jeremy
therube wrote:
Box Edit plugin that allows one to download MS-Office files from the website for synchronized
And is that part of "Box Sync"?
(If so, nope, I'm not doing that.)
With ya on that one. Can't stand Box Sync.

Re: Box edit broken by NoScript extension

Posted: Thu Apr 28, 2016 5:43 pm
by jeremy
barbaz wrote:Save you some time:

NoScript Options > Advanced > ABE > SYSTEM
add at the very top

Code: Select all

Site ^https://edit\.boxlocalhost\.com:1722\d/
Accept from .app.box.com
assuming the ports used are dynamic in range 17220-17229
That worked perfectly; thanks! I owe you a beer...or something.
Just found the ABE rule specs PDF, too...so I'll definitely be reading through it in the next few days.

Thanks again for your help!

Jeremy

Re: Box edit broken by NoScript extension

Posted: Thu Apr 28, 2016 5:44 pm
by barbaz
You're welcome! Image