How can I disable all Activities/Test just for my current session

Avatar

Avatar
Validate 1
Level 1
nikb747
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
nikb747
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
nikb747
Level 1

18-05-2017

I'm using an automation and I'd like to disable all activities for the automation runs.

I know we can use the mboxDisable=1 parameter in the URL to hide any activities on the page.  Is there something we can set to disable the activities for the entire session as it clicks from page to page?  

 

Thanks,

nik

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

199 likes

Total Posts

224 posts

Correct reply

89 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

199 likes

Total Posts

224 posts

Correct reply

89 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

19-05-2017

If you are using the latest at.js (version 0.9.6 or later) you can set a session cookie that will disable mboxes. From the browser console you can run: document.cookie = "mboxDisable=1; path=/";

Hope that helps!

Answers (4)

Answers (4)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

19-05-2017

Hi,

The use-case doesn't looks to be the ideal one.However we can probably  think of some alternatives like probably turning off global mbox setting in mbox.js.

Regards

Parit Mittal

Avatar

Avatar
Validate 1
Level 1
nikb747
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
nikb747
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
nikb747
Level 1

19-05-2017

That sounds like exactly what we are looking for, unfortunately, we're on the mbox.js implementation.

I'll look into upgrading.  I'm not sure why we're not using at.js 😞

Avatar

Avatar
Validate 1
Level 4
Løjmann
Level 4

Likes

35 likes

Total Posts

117 posts

Correct reply

42 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
Løjmann
Level 4

Likes

35 likes

Total Posts

117 posts

Correct reply

42 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Løjmann
Level 4

19-05-2017

Hi Nik,

As far as I know, you can't disable it as you would like, but I see why you want it. Could you setup your automated test, to re-map the at.js/mbox.js file to a empty js-file on your site, to avoid requests to target?

/Løjmann

Avatar

Avatar
Validate 1
Level 1
nikb747
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
nikb747
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
nikb747
Level 1

19-05-2017

Thanks for the reply.

Is there a way to turn off the global mbox just for the current session?

The desire is to have an automated test run on the production site.  There are specific things it will look for that may get disrupted by AB testing and we want to avoid that.

 

nik