Storage
Local storage
| Key | Value |
|---|---|
| {{ key }} | {{ item }} |
Session storage
| Key | Value |
|---|---|
| {{ key }} | {{ item }} |
Cookies
{{ document.cookie }}| Key | Value |
|---|---|
| {{ key }} | {{ item }} |
| Key | Value |
|---|---|
| {{ key }} | {{ item }} |
| Key | Value |
|---|---|
| {{ key }} | {{ item }} |
| Key | Value |
|---|---|
| {{ key }} | {{ item }} |
Paragraph.
Paragraph.
Paragraph.
Paragraph.
Paragraph.
Paragraph.
User agent:
Chrome: {{ ISCHROME | tick }}
Firefox: {{ ISFIREFOX | tick }}
MS Internet Explorer {{ ISMSIE | tick }}
Javascript:
const ISCHROME = window.navigator.userAgent.indexOf("Chrome") > -1
const ISMSIE = window.navigator.userAgent.indexOf("MSIE ") > -1
const ISFIREFOX = window.navigator.userAgent.toLowerCase().indexOf('firefox') > -1
A canvas has a DOM width and height (canvas.width, canvas.height) and a CSS width and height (canvas.style.width, canvas.style.height).
Dimensions of canvas element: