Javascript.info Ebook Part 3 Additional articles [1 ed.]

3,835 789 4MB

English Pages 318 Year 2019

Report DMCA / Copyright

DOWNLOAD FILE

Javascript.info Ebook Part 3 Additional articles [1 ed.]

Table of contents :
Popups and window methods......Page 4
Cross-window communication......Page 11
The clickjacking attack......Page 20
ArrayBuffer, binary arrays......Page 25
TextDecoder and TextEncoder......Page 33
Blob......Page 35
File and FileReader......Page 41
Fetch......Page 45
FormData......Page 52
Fetch: Download progress......Page 56
Fetch: Abort......Page 59
Fetch: Cross-Origin Requests......Page 61
Fetch API......Page 73
URL objects......Page 78
XMLHttpRequest......Page 83
Resumable file upload......Page 95
Long polling......Page 96
WebSocket......Page 99
Server Sent Events......Page 108
Cookies, document.cookie......Page 115
LocalStorage, sessionStorage......Page 126
IndexedDB......Page 133
Animation......Page 152
Bezier curve......Page 153
CSS-animations......Page 161
JavaScript animations......Page 175
From the orbital height......Page 188
Custom elements......Page 192
Shadow DOM......Page 202
Template element......Page 206
Shadow DOM slots, composition......Page 209
Shadow DOM styling......Page 219
Shadow DOM and events......Page 226
Patterns and flags......Page 231
Methods of RegExp and String......Page 234
Character classes......Page 244
Escaping, special characters......Page 251
Sets and ranges [...]......Page 253
Quantifiers +, *, ? and {n}......Page 257
Greedy and lazy quantifiers......Page 261
Capturing groups......Page 270
Backreferences in pattern: \n and \k......Page 277
Alternation (OR) |......Page 279
String start ^ and finish $......Page 283
Multiline mode, flag "m"......Page 284
Lookahead and lookbehind......Page 286
Infinite backtracking problem......Page 289
Unicode: flag "u"......Page 296
Unicode character properties \p......Page 298
Sticky flag "y", searching at position......Page 300

Polecaj historie