Disable Page Tour ETA

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
fleish
Posts: 2
Joined: Thu Mar 16, 2017 5:44 pm

Disable Page Tour ETA

Post by fleish »

There was a previous topic about this https://support.nagios.com/forum/viewto ... 7&t=42638 but it's since been locked. Can we get an ETA for disabling the annoying page tour popup? I'd prefer my browser not keep making superfluous calls to youtube every time I load a page. Thanks!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Disable Page Tour ETA

Post by dwhitfield »

Getting it out of the C will require recompiling, but you can just comment it out of the php files listed at https://github.com/NagiosEnterprises/na ... &q=youtube
renrom
Posts: 4
Joined: Tue May 14, 2013 2:47 pm

Re: Disable Page Tour ETA

Post by renrom »

What i did was comment out the section vidbox.prototype.init = function() in nagios/share/js/nag_funcs.js

Code: Select all

vidbox.prototype.init = function()
{
}
And comment out the rest of the function.

I know, its quick and dirty, but this would be nice to be configurable in the nagios.cfg like 'enable_page_tour=1' :)
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Disable Page Tour ETA

Post by dwhitfield »

I had assumed there was a "formal" feature request for this, but it turns out there wasn't one on the github. I have corrected this: https://github.com/NagiosEnterprises/na ... issues/352
jfrickson

Re: Disable Page Tour ETA

Post by jfrickson »

There is a "Never show this again" link at the top-right of the open window. It sets a cookie in your browser telling it to not load that popup window again. It's a per-page cookie, so you would have to click it on each page that has the tour window.

I'll probably add a preference, but that should do the job for you in the meantime.
Locked