* Checks if the storage is available.
()
| 309 | * Checks if the storage is available. |
| 310 | */ |
| 311 | function isStorageAvailable() { |
| 312 | return storage.ClearURLsData.length !== 0; |
| 313 | } |
| 314 | |
| 315 | /** |
| 316 | * This method calculates the SHA-256 hash as HEX string of the given message. |