Disable Agent Toolbar Elements

 
Instructions are for the Legacy Agent Desktop Only.
For the Current Agent Desktop see the Toolbar Buttons Control.
 
To disable any of the icons at the top of the Agent Desktop screen, just add a calculation to each page where the icon should be disabled:
 
var td = parent.back;
if (td) {
    if (td.src.search('back00.gif') == -1) {
        td.src = 'images/back00.gif';
    }
    td.onclick = null;
    td.onmouseover = null;
    td.onmouseout = null;
    td.onmousedown = null;
}
 
var td = parent.home;
if (td) {
    if (td.src.search('home00.gif') == -1) {
        td.src = 'images/home00.gif';
    }
    td.onclick = null;
    td.onmouseover = null;
    td.onmouseout = null;
    td.onmousedown = null;
}
 
var td = parent.endcall;
if (td) {
    if (td.src.search('endcall00.gif') == -1) {
        td.src = 'images/endcall00.gif';
    }
    td.onclick = null;
    td.onmouseover = null;
    td.onmouseout = null;
    td.onmousedown = null;
}
 
var td = parent.foward;
if (td) {
    if (td.src.search('forward00.gif') == -1) {
        td.src = 'images/forward00.gif';
    }
    td.onclick = null;
    td.onmouseover = null;
    td.onmouseout = null;
    td.onmousedown = null;
}
 
var td = parent.trans;
if (td) {
    if (td.src.search('trans00.gif') == -1) {
        td.src = 'images/trans00.gif';
    }
    td.onclick = null;
    td.onmouseover = null;
    td.onmouseout = null;
    td.onmousedown = null;
}
 
var td = parent.spellcheck;
if (td) {
    if (td.src.search('spellcheck00.gif') == -1) {
        td.src = 'images/spellcheck00.gif';
    }
    td.onclick = null;
    td.onmouseover = null;
    td.onmouseout = null;
    td.onmousedown = null;
}
 
The icons will be re-enabled when reaching a page where there is no calculation that disables it.