sessionStorage.fullScreen = true.toString(); if (sessionStorage.fullScreen === true.toString()) { // }