[resolved] Box edit broken by NoScript extension

Ask for help about NoScript, no registration needed to post
jeremy
Posts: 4
Joined: Thu Apr 28, 2016 5:49 pm

[resolved] Box edit broken by NoScript extension

Post 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
Last edited by jeremy on Thu Apr 28, 2016 6:37 pm, edited 1 time in total.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Box edit broken by NoScript extension

Post 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)
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Box edit broken by NoScript extension

Post 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.)
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:43.0) Gecko/20100101 SeaMonkey/2.40
jeremy
Posts: 4
Joined: Thu Apr 28, 2016 5:49 pm

Re: Box edit broken by NoScript extension

Post 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
Last edited by jeremy on Thu Apr 28, 2016 6:28 pm, edited 1 time in total.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Box edit broken by NoScript extension

Post 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
*Always* check the changelogs BEFORE updating that important software!
-
jeremy
Posts: 4
Joined: Thu Apr 28, 2016 5:49 pm

Re: Box edit broken by NoScript extension

Post 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.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
jeremy
Posts: 4
Joined: Thu Apr 28, 2016 5:49 pm

Re: Box edit broken by NoScript extension

Post 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
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: Box edit broken by NoScript extension

Post by barbaz »

You're welcome! Image
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply