;(function () { // Function that contains the logic to create the popup function createPopup() { const __storageId__ = 'V3_nice-popup-f5292b5e-11e1-48bb-abae-e6fb5cc859b7' const __iFrameUrl__ = 'https://www.boostlysms.com//webform/popup?s=9d54e34b-f6c4-4411-9974-08cf3818bdb3' const __displayDelayMs__ = '0' const __visitationTokenExpirationInSeconds__ = '86400000' // const __noteInLocalStorage__ = 'true' const visitationToken = localStorage.getItem(__storageId__) || '{}' const { lastVisitedAt, hasSubscribed, displayCount } = JSON.parse(visitationToken) if (lastVisitedAt) { const lastVisitDate = new Date(lastVisitedAt) const currentTime = new Date() const difference = currentTime - lastVisitDate // Check if the popup has already been displayed twice if ( difference < __visitationTokenExpirationInSeconds__ && displayCount >= 2 ) { return } } if (hasSubscribed === true) { return } setTimeout(() => { const newDisplayCount = (displayCount || 0) + 1 localStorage.setItem( __storageId__, JSON.stringify({ lastVisitedAt: new Date().toISOString(), displayCount: newDisplayCount, }), ) const d = document.createElement('dialog') d.id = 'nice-popup-1' d.style.width = '90vw' d.style.maxWidth = '684px' d.style.minHeight = '512px' d.style.height = '100%' d.style.maxHeight = '581px' d.style.border = 'none' d.style.background = 'transparent' d.style.overflow = 'auto' d.style.padding = '0px' d.style.margin = '0 auto' d.style.top = '50%' d.style.transform = 'translateY(-50%)' const s = document.createElement('style') s.innerHTML = ` #${d.id} { -ms-overflow-style: none; scrollbar-width: none !important; background: rgba(0,0,0,0.4); } #${d.id}::-webkit-scrollbar { display: none; } #${d.id}::backdrop { background: rgba(0,0,0,0.4); } ` d.addEventListener('click', (e) => { const rect = d.getBoundingClientRect() const isInDialog = rect.top <= e.clientY && e.clientY <= rect.top + rect.height && rect.left <= e.clientX && e.clientX <= rect.left + rect.width if (!isInDialog) { d.close() } }) const f = document.createElement('iframe') f.style.border = 'none' f.style.background = 'none' f.style.width = '100%' // f.style.height = '100%' f.style.minHeight = '577px' f.src = __iFrameUrl__ d.append(f) document.body.append(d) document.body.append(s) f.addEventListener('load', () => { d.showModal() }) d.addEventListener('close', () => { f.remove() s.remove() d.remove() }) window.addEventListener('message', (event) => { if (typeof event.data === 'string') { // Check if data is a string console.log(event.data) if (event.data === 'close') { f.remove() s.remove() d.remove() } else if (event.data.indexOf('height') > -1) { try { f.style.minHeight = event.data.split(':')[1].trim() + 'px' } catch (e) {} } } else if (event.data && event.data.event) { console.log(`Received event: ${event.data.event}`) } }) }, __displayDelayMs__) } // Check if the document has already loaded if (document.readyState === 'complete') { // If it's already loaded, execute the popup logic immediately createPopup() } else { // If not, add the event listener for 'load' window.addEventListener('load', createPopup) } })()
top of page
Customers eating Urge Taphouse Kitchen

Your Table Awaits

Indulge in the finest burgers and an unmatched selection of beers in the heart of San Diego. At Urge Taphouse Kitchen, we marry classic American flavors with a contemporary flair, offering a dining experience that celebrates tradition and innovation.

business hours:

Monday - Sunday:

11am - 9pm

Reserve your table today to savor the essence of American cuisine while enjoying our robust beer offerings in a warm, welcoming ambiance.
bottom of page