Many browsers have introduced the option to block third-party cookies and localStorage use. This can cause use of flag registers to fail ungracefully, zeroing them out.
This change performs a quick check at runtime to see if localStorage is available for the flag registers and if not will dummy out the functions that would attempt this access, allowing regular emulation to proceed without repeated error messages.
Many browsers have introduced the option to block third-party cookies and localStorage use. This can cause use of flag registers to fail ungracefully, zeroing them out. This change performs a quick check at runtime to see if localStorage is available for the flag registers and if not will dummy out the functions that would attempt this access, allowing regular emulation to proceed without repeated error messages.
Tested working as expected in: