document.requestStorageAccess() may only be requested from inside a short running user-generated event handler.
Nid oes modd galw document.requestStorageAccess() ond o fewn triniwr digwyddiad wedi ei gynhyrchu, tymor byr.