New strategy: override localStorage and sessionStorage to prevent direct write e.g. localStorage.abc=3.
Related to #3487461