var showids = JSON.parse(localStorage.getItem("showids") ) ? JSON.parse(localStorage.getItem("showids") ) :[] ;
if(showids ){
const index = showids.indexOf(id);
if(index != -1){
showids.splice(index, 1);
localStorage.setItem("showids",JSON.stringify(showids));
}
}