Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <p class="ram-description">Your device memory is <span id="result">unknown</span> GB.</p>
- <script>
- document.getElementById('result').innerHTML = navigator.deviceMemory || 'unknown'
- </script>
- </body>
- </html>
- <html>
- <body>
- <p class="ram-description"><b id="result">Your device memory is <b id="result">unknown</b> GiB.</p>
- <script>
- document.getElementById('result').innerHTML = navigator.deviceMemory || 'unknown'
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement