☰
Home
|
Content
Management Wanted
Surveillance Package
Squid Game U.S.A.
Lethal Company
Tattletail
|
About
Accolades
Who We Are
Branding
|
FAQ
|
Teasers
|
Apply
|
Contact
Visit MW
Play MW
JavaScript is Required
To access this website, please enable JavaScript in your browser.
How to enable JavaScript →
Powered by
arrival.studio
NOTICE
×
OVDR Studios News / Blog Posts have been put on an indefinite hold. To stay up to date with OVDR Studios product please visit our social medias (Twitter, Discord, etc)
const STORAGE_KEY = 'announcement_dismissed'; const CONTENT_HASH_KEY = 'announcement_content_hash'; const wrapper = document.getElementById('announcementWrapper'); const closeBtn = document.getElementById('closeBtn'); const content = document.querySelector('.announcement-body').innerHTML.trim() + document.querySelector('.announcement-title').innerHTML.trim(); function hashCode(str) { let hash = 0; for (let i = 0; i < str.length; i++) { const char = str.charCodeAt(i); hash = ((hash << 5) - hash) + char; hash = hash & hash; } return hash.toString(); } function shouldShowAnnouncement() { const dismissed = localStorage.getItem(STORAGE_KEY); const storedHash = localStorage.getItem(CONTENT_HASH_KEY); const currentHash = hashCode(content); if (!dismissed || storedHash !== currentHash) { return true; } return false; } function dismissAnnouncement() { wrapper.classList.add('hiding'); const currentHash = hashCode(content); setTimeout(() => { wrapper.classList.remove('show', 'hiding'); localStorage.setItem(STORAGE_KEY, 'true'); localStorage.setItem(CONTENT_HASH_KEY, currentHash); }, 300); } closeBtn.addEventListener('click', dismissAnnouncement); if (shouldShowAnnouncement()) { wrapper.classList.add('show'); }