public final void removeFromContext ( final boolean enable , final On ... ons ) { for ( final On on : ons ) { if ( On . TAB_CLOSE . equals ( on ) ) { removeFromBrowserContextOnTabClose = enable ; } else if ( On . INIT_REMOVE_PREVIOUS . equals ( on ) ) { removePrevFromBrowserContextOnTabInit = enable ; } } }
By default On . TAB_CLOSE and On . INIT_REMOVE_PREVIOUS are enabled .