| ofs | hex dump | ascii |
|---|
| 0000 | 30 5c 72 a7 1b 6d fb fc 05 00 00 00 04 00 00 00 1f 79 63 c0 00 00 00 00 31 36 31 36 27 75 73 65 | 0\r..m...........yc.....1616'use |
| 0020 | 20 73 74 72 69 63 74 27 3b 0a 0a 61 73 79 6e 63 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 72 69 65 | .strict';..async.function.retrie |
| 0040 | 76 65 43 6f 6c 6f 72 53 63 68 65 6d 65 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 | veColorScheme().{.....if.(typeof |
| 0060 | 20 77 69 6e 64 6f 77 20 21 3d 3d 20 27 75 6e 64 65 66 69 6e 65 64 27 29 20 7b 0a 20 20 20 20 20 | .window.!==.'undefined').{...... |
| 0080 | 20 20 20 2f 2f 20 46 69 72 65 66 6f 78 20 64 6f 65 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 20 74 | ...//.Firefox.does.not.support.t |
| 00a0 | 68 65 20 6f 66 66 73 63 72 65 65 6e 20 41 50 49 20 62 75 74 20 69 74 73 20 62 61 63 6b 67 72 6f | he.offscreen.API.but.its.backgro |
| 00c0 | 75 6e 64 20 73 63 72 69 70 74 20 73 74 69 6c 6c 20 68 61 73 20 61 20 77 69 6e 64 6f 77 20 28 73 | und.script.still.has.a.window.(s |
| 00e0 | 6f 20 66 61 72 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 2e 6d 61 74 | o.far).........return.window.mat |
| 0100 | 63 68 4d 65 64 69 61 28 27 28 70 72 65 66 65 72 73 2d 63 6f 6c 6f 72 2d 73 63 68 65 6d 65 3a 20 | chMedia('(prefers-color-scheme:. |
| 0120 | 64 61 72 6b 29 27 29 2e 6d 61 74 63 68 65 73 20 3f 20 27 64 61 72 6b 27 20 3a 20 27 6c 69 67 68 | dark)').matches.?.'dark'.:.'ligh |
| 0140 | 74 27 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 63 6f 6e 73 74 20 6f 66 66 73 63 72 65 65 6e 55 72 | t';.....}......const.offscreenUr |
| 0160 | 6c 20 3d 20 62 72 6f 77 73 65 72 2e 72 75 6e 74 69 6d 65 2e 67 65 74 55 52 4c 28 27 6f 66 66 73 | l.=.browser.runtime.getURL('offs |
| 0180 | 63 72 65 65 6e 2f 6f 66 66 73 63 72 65 65 6e 2e 68 74 6d 6c 27 29 3b 0a 20 20 20 20 63 6f 6e 73 | creen/offscreen.html');.....cons |
| 01a0 | 74 20 65 78 69 73 74 69 6e 67 43 6f 6e 74 65 78 74 73 20 3d 20 61 77 61 69 74 20 62 72 6f 77 73 | t.existingContexts.=.await.brows |
| 01c0 | 65 72 2e 72 75 6e 74 69 6d 65 2e 67 65 74 43 6f 6e 74 65 78 74 73 28 7b 0a 20 20 20 20 20 20 20 | er.runtime.getContexts({........ |
| 01e0 | 20 63 6f 6e 74 65 78 74 54 79 70 65 73 3a 20 5b 20 27 4f 46 46 53 43 52 45 45 4e 5f 44 4f 43 55 | .contextTypes:.[.'OFFSCREEN_DOCU |
| 0200 | 4d 45 4e 54 27 20 5d 2c 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 55 72 6c 73 3a 20 5b | MENT'.],.........documentUrls:.[ |
| 0220 | 20 6f 66 66 73 63 72 65 65 6e 55 72 6c 20 5d 2c 0a 20 20 20 20 7d 29 3b 0a 20 20 20 20 69 66 20 | .offscreenUrl.],.....});.....if. |
| 0240 | 28 65 78 69 73 74 69 6e 67 43 6f 6e 74 65 78 74 73 2e 6c 65 6e 67 74 68 20 3d 3d 3d 20 30 29 20 | (existingContexts.length.===.0). |
| 0260 | 7b 0a 20 20 20 20 20 20 20 20 61 77 61 69 74 20 62 72 6f 77 73 65 72 2e 6f 66 66 73 63 72 65 65 | {.........await.browser.offscree |
| 0280 | 6e 2e 63 72 65 61 74 65 44 6f 63 75 6d 65 6e 74 28 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 75 | n.createDocument({.............u |
| 02a0 | 72 6c 3a 20 6f 66 66 73 63 72 65 65 6e 55 72 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | rl:.offscreenUrl,.............re |
| 02c0 | 61 73 6f 6e 73 3a 20 5b 20 27 4d 41 54 43 48 5f 4d 45 44 49 41 27 20 5d 2c 0a 20 20 20 20 20 20 | asons:.[.'MATCH_MEDIA'.],....... |
| 02e0 | 20 20 20 20 20 20 6a 75 73 74 69 66 69 63 61 74 69 6f 6e 3a 20 27 52 65 74 72 69 65 76 65 20 63 | ......justification:.'Retrieve.c |
| 0300 | 6f 6c 6f 72 20 73 63 68 65 6d 65 27 2c 0a 20 20 20 20 20 20 20 20 7d 29 3b 0a 20 20 20 20 7d 0a | olor.scheme',.........});.....}. |
| 0320 | 0a 20 20 20 20 63 6f 6e 73 74 20 73 74 79 6c 65 20 3d 20 61 77 61 69 74 20 62 72 6f 77 73 65 72 | .....const.style.=.await.browser |
| 0340 | 2e 72 75 6e 74 69 6d 65 2e 73 65 6e 64 4d 65 73 73 61 67 65 28 7b 0a 20 20 20 20 20 20 20 20 74 | .runtime.sendMessage({.........t |
| 0360 | 61 72 67 65 74 3a 20 27 6f 66 66 73 63 72 65 65 6e 27 2c 0a 20 20 20 20 20 20 20 20 61 63 74 69 | arget:.'offscreen',.........acti |
| 0380 | 6f 6e 3a 20 27 72 65 74 72 69 65 76 65 5f 63 6f 6c 6f 72 5f 73 63 68 65 6d 65 27 2c 0a 20 20 20 | on:.'retrieve_color_scheme',.... |
| 03a0 | 20 7d 29 3b 0a 20 20 20 20 69 66 20 28 21 73 74 79 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 2f | .});.....if.(!style).{........./ |
| 03c0 | 2f 20 69 66 20 6d 65 73 73 61 67 69 6e 67 20 66 61 69 6c 73 20 74 68 65 6e 20 75 73 65 20 22 6c | /.if.messaging.fails.then.use."l |
| 03e0 | 69 67 68 74 22 20 69 63 6f 6e 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 27 6c 69 67 68 74 | ight".icon.........return.'light |
| 0400 | 27 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 73 74 79 6c 65 3b 0a 7d 0a d8 41 0d | ';.....}.....return.style;.}..A. |
| 0420 | 97 45 6f fa f4 01 00 00 00 e2 0b 21 d5 00 00 00 00 00 00 00 00 f0 00 00 00 03 00 00 80 04 00 00 | .Eo........!.................... |
| 0440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c4 00 00 00 48 54 54 | .............................HTT |
| 0460 | 50 2f 31 2e 31 20 32 30 30 20 4f 4b 00 43 6f 6e 74 65 6e 74 2d 53 65 63 75 72 69 74 79 2d 50 6f | P/1.1.200.OK.Content-Security-Po |
| 0480 | 6c 69 63 79 3a 20 73 63 72 69 70 74 2d 73 72 63 20 27 73 65 6c 66 27 00 45 54 61 67 3a 20 22 70 | licy:.script-src.'self'.ETag:."p |
| 04a0 | 49 54 63 56 36 53 79 45 70 69 6f 56 61 31 42 58 4d 4f 6b 74 58 70 5a 32 57 6b 3d 22 00 63 61 63 | ITcV6SyEpioVa1BXMOktXpZ2Wk=".cac |
| 04c0 | 68 65 2d 63 6f 6e 74 72 6f 6c 3a 20 6e 6f 2d 63 61 63 68 65 00 43 6f 6e 74 65 6e 74 2d 54 79 70 | he-control:.no-cache.Content-Typ |
| 04e0 | 65 3a 20 74 65 78 74 2f 6a 61 76 61 73 63 72 69 70 74 00 4c 61 73 74 2d 4d 6f 64 69 66 69 65 64 | e:.text/javascript.Last-Modified |
| 0500 | 3a 20 53 75 6e 2c 20 31 39 20 4a 75 6c 20 32 30 32 36 20 31 33 3a 33 36 3a 30 38 20 47 4d 54 00 | :.Sun,.19.Jul.2026.13:36:08.GMT. |
| 0520 | 00 00 00 00 00 00 00 00 00 ee 09 19 8e 46 22 48 75 cf 39 92 85 11 ef 2b 85 58 95 c4 3e e8 6d 1d | .............F"Hu.9....+.X..>.m. |
| 0540 | e8 94 ee 82 bc 7c 99 0a fa d8 41 0d 97 45 6f fa f4 03 00 00 00 8d 88 b3 f3 f4 00 00 00 00 00 00 | .....|....A..Eo................. |
| 0560 | 00 | . |