|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492 |
- <!doctype html><!-- This is a valid HTML5 document. -->
- <!-- Screen readers, SEO, extensions and so on. -->
- <html lang="fr">
- <!-- Has to be within the first 1024 bytes, hence before the `title` element
- See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
- <meta charset="utf-8">
- <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
- <!-- The viewport meta is quite crowded and we are responsible for that.
- See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
- <meta name="viewport" content="width=device-width,initial-scale=1">
- <!-- Required to make a valid HTML5 document. -->
- <title>Accueil — David Larlet</title>
- <meta name="description" content="Voici l’espace personnel de David Larlet sur le Web.">
- <!-- That good ol' feed, subscribe :). -->
- <link rel="alternate" type="application/atom+xml" title="Feed" href="/david/log/">
- <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
- <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
- <link rel="manifest" href="/static/david/icons2/site.webmanifest">
- <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
- <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
- <meta name="msapplication-TileColor" content="#f7f7f7">
- <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
- <meta name="theme-color" content="#f7f7f7" media="(prefers-color-scheme: light)">
- <meta name="theme-color" content="#272727" media="(prefers-color-scheme: dark)">
- <!-- Documented, feel free to shoot an email. -->
- <link rel="stylesheet" href="/static/david/css/style_2021-01-20.css">
- <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
- <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
- <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
- <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
- <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
- <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
- <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
- <script>
- function toggleTheme(themeName) {
- document.documentElement.classList.toggle(
- 'forced-dark',
- themeName === 'dark'
- )
- document.documentElement.classList.toggle(
- 'forced-light',
- themeName === 'light'
- )
- }
- const selectedTheme = localStorage.getItem('theme')
- if (selectedTheme !== 'undefined') {
- toggleTheme(selectedTheme)
- }
- </script>
-
- <body class="remarkdown h1-underline h2-underline h3-underline em-underscore hr-center ul-star pre-tick" data-instant-intensity="viewport-all">
-
-
- <article>
- <header>
- <h1>Bienvenue</h1>
- </header>
- <p>
- Voici l’espace personnel de David Larlet sur le Web.
- Il se veut modeste, accueillant et pérenne.
- Il fixe mes pensées et parfois engage des échanges.
- J’essaye de tenir et lier des propos bienveillants.
- Je vous souhaite une jolie promenade.
- </p>
-
- <p lang="en">
- For an English profile, check out
- <a href="http://larlet.com" data-instant>this page 🇨🇦</a>.
- </p>
-
- <h2>Publications 2023</h2>
-
- <p>Liste des publications récentes en ordre anté-chronologique :</p>
-
- <nav>
- <p>
- <a href="/david/2023/03/04/">Jour 3</a>,
- <a href="/david/2023/03/03/">Jour 2</a>,
- <a href="/david/2023/03/02/">Jour 1</a>,
- <a href="/david/2023/02/28/">AlgoRSSithme</a>,
- <a href="/david/2023/02/25/">Transmission</a>,
- <a href="/david/2023/02/18/">Quiz</a>,
- <a href="/david/2023/02/13/">Livre</a>,
- <a href="/david/2023/02/12/">Jour 3</a>,
- <a href="/david/2023/02/11/">Jour 2</a>,
- <a href="/david/2023/02/10/">Jour 1</a>,
- <a href="/david/2023/02/09/">Allumage</a>,
- <a href="/david/2023/02/08/">TextcAIst</a>,
- <a href="/david/2023/02/07/">Madeleine</a>,
- <a href="/david/2023/02/05/">Attente</a>,
- <a href="/david/2023/02/03/">Chargement</a>,
- <a href="/david/2023/02/02/">Moment</a>,
- <a href="/david/2023/02/01/">Ombres</a>,
- <a href="/david/2023/01/31/">Ennui</a>,
- <a href="/david/2023/01/30/">Lecture</a>,
- <a href="/david/2023/01/26/">Décentralisation</a>,
- <a href="/david/2023/01/24/">Capot</a>,
- <a href="/david/2023/01/23/">Déception</a>,
- <a href="/david/2023/01/22/">Jour 2</a>,
- <a href="/david/2023/01/21/">Jour 1</a>,
- <a href="/david/2023/01/20/">Lettres</a>,
- <a href="/david/2023/01/18/">Femmes</a>,
- <a href="/david/2023/01/17/">Populaire</a>,
- <a href="/david/2023/01/16/">Chasse</a>,
- <a href="/david/2023/01/15/">Snow Fall</a>,
- <a href="/david/2023/01/14/">Dépendances</a>,
- <a href="/david/2023/01/13/">Eaux grises</a>,
- <a href="/david/2023/01/12/">Masque</a>,
- <a href="/david/2023/01/11/">Suspendu</a>,
- <a href="/david/2023/01/10/">Qualité</a>,
- <a href="/david/2023/01/09/">Indépendant·e</a>,
- <a href="/david/2023/01/08/">Partage</a>,
- <a href="/david/2023/01/07/">Dette</a>,
- <a href="/david/2023/01/06/">Toile</a>,
- <a href="/david/2023/01/05/">Instanseul</a>,
- <a href="/david/2023/01/04/">Rétrospectives</a>,
- <a href="/david/2023/01/03/">Préparation</a>,
- <a href="/david/2023/01/02/">Lucidité</a>,
- <a href="/david/2023/01/01/">Alleeez</a>.
-
- </p>
- </nav>
-
- <p id="tags-2023">Ou par étiquettes :</p>
-
- <nav>
- <p>
- <a href="/david/2023/accompagnement/">#accompagnement (6)</a>,
- <a href="/david/2023/amadou/">#amadou (1)</a>,
- <a href="/david/2023/attention/">#attention (2)</a>,
- <a href="/david/2023/aventure/">#aventure (11)</a>,
- <a href="/david/2023/complexite/">#complexité (4)</a>,
- <a href="/david/2023/confiance/">#confiance (5)</a>,
- <a href="/david/2023/confidentialite/">#confidentialité (3)</a>,
- <a href="/david/2023/courage/">#courage (7)</a>,
- <a href="/david/2023/decentralisation/">#décentralisation (3)</a>,
- <a href="/david/2023/don/">#don (2)</a>,
- <a href="/david/2023/eau/">#eau (3)</a>,
- <a href="/david/2023/ecriture/">#écriture (2)</a>,
- <a href="/david/2023/foret/">#forêt (8)</a>,
- <a href="/david/2023/gafam/">#gafam (1)</a>,
- <a href="/david/2023/gratitude/">#gratitude (5)</a>,
- <a href="/david/2023/incompetence/">#incompétence (1)</a>,
- <a href="/david/2023/intimite/">#intimité (1)</a>,
- <a href="/david/2023/livre/">#livre (3)</a>,
- <a href="/david/2023/masque/">#masque (1)</a>,
- <a href="/david/2023/mastodon/">#mastodon (1)</a>,
- <a href="/david/2023/nostalgie/">#nostalgie (1)</a>,
- <a href="/david/2023/parentalite/">#parentalité (1)</a>,
- <a href="/david/2023/partage/">#partage (1)</a>,
- <a href="/david/2023/patriarcat/">#patriarcat (1)</a>,
- <a href="/david/2023/photographie/">#photographie (3)</a>,
- <a href="/david/2023/propriete/">#propriété (1)</a>,
- <a href="/david/2023/psychologie/">#psychologie (1)</a>,
- <a href="/david/2023/qualite/">#qualité (2)</a>,
- <a href="/david/2023/recherche/">#recherche (10)</a>,
- <a href="/david/2023/recyclage/">#recyclage (2)</a>,
- <a href="/david/2023/reponse/">#réponse (2)</a>,
- <a href="/david/2023/simplicite/">#simplicité (2)</a>,
- <a href="/david/2023/sociologie/">#sociologie (4)</a>,
- <a href="/david/2023/solastalgia/">#solastalgia (1)</a>,
- <a href="/david/2023/sport/">#sport (3)</a>,
- <a href="/david/2023/technique/">#technique (7)</a>,
- <a href="/david/2023/traces/">#traces (4)</a>,
- <a href="/david/2023/tristesse/">#tristesse (2)</a>,
- <a href="/david/2023/viande/">#viande (1)</a>,
- <a href="/david/2023/web/">#web (7)</a>.
-
- </p>
- </nav>
-
- <h2>Publications sporadiques 2022</h2>
-
- <p>Liste des publications en ordre chronologique :</p>
-
- <nav>
- <p>
- <a href="/david/2022/01/19/">Négatif</a>,
- <a href="/david/2022/02/17/">Envie</a>,
- <a href="/david/2022/03/04/">Régime</a>,
- <a href="/david/2022/03/18/">Temps</a>,
- <a href="/david/2022/03/23/">Open-source</a>,
- <a href="/david/2022/04/02/">Recherche</a>,
- <a href="/david/2022/04/14/">Ressenti</a>,
- <a href="/david/2022/04/23/">Quarantaine</a>,
- <a href="/david/2022/04/26/">R&Day</a>,
- <a href="/david/2022/05/13/">Aurore</a>,
- <a href="/david/2022/05/15/">Rédemption</a>,
- <a href="/david/2022/05/17/">Outils</a>,
- <a href="/david/2022/05/30/">Méditation</a>,
- <a href="/david/2022/06/06/">Hommes</a>,
- <a href="/david/2022/06/24/">Bouddhisme</a>,
- <a href="/david/2022/06/30/">Valeur(s)</a>,
- <a href="/david/2022/07/06/">Regard</a>,
- <a href="/david/2022/07/08/">LudoviCovid</a>,
- <a href="/david/2022/07/14/">Vingt</a>,
- <a href="/david/2022/07/23/">Origines</a>,
- <a href="/david/2022/08/24/">Silence</a>,
- <a href="/david/2022/09/03/">Bifurquer</a>,
- <a href="/david/2022/10/18/">Esclavage</a>,
- <a href="/david/2022/11/12/">Mastodon</a>,
- <a href="/david/2022/11/27/">Neuf</a>,
- <a href="/david/2022/12/19/">Traces</a>,
- <a href="/david/2022/12/22/">Marcher</a>.
- </p>
- </nav>
-
- <p>
- J’ai aussi ouvert trois nouveaux espaces en 2022 :
- </p>
- <ul>
- <li><a href="https://media.larlet.fr/">Des photos/media plus ou moins récents</a></li>
- <li><a href="https://code.larlet.fr/">Des morceaux de code et d’apprentissages</a></li>
- <li><a href="https://nature.larlet.fr/">Des bribes/expériences de nature</a></li>
- </ul>
- <p>
- En plus de publier des bêtises
- <a href="https://fedi.larlet.fr/@david" rel="me">sur Mastodon</a>.
- </p>
-
- <h2 id="tags">
- Publications <a href="/david/2021/" title="Voir la liste de toutes les publications 2021">2021</a> par tags <svg class="icon icon-tags">
- <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-tags"></use>
- </svg>
- </h2>
- <nav>
- <p>
- <a href="/david/2021/accessibilite/">#accessibilité (17)</a>
- <a href="/david/2021/accompagnement/">#accompagnement (21)</a>
- <a href="/david/2021/allie/">#allié (12)</a>
- <a href="/david/2021/alterego/">#alterego (7)</a>
- <a href="/david/2021/anarchisme/">#anarchisme (5)</a>
- <a href="/david/2021/anxiete/">#anxiété (35)</a>
- <a href="/david/2021/capitalocene/">#capitalocène (21)</a>
- <a href="/david/2021/climat/">#climat (13)</a>
- <a href="/david/2021/contemplation/">#contemplation (7)</a>
- <a href="/david/2021/cooperative/">#coopérative (7)</a>
- <a href="/david/2021/design/">#design (11)</a>
- <a href="/david/2021/echecs/">#échecs (5)</a>
- <a href="/david/2021/ecole/">#école (8)</a>
- <a href="/david/2021/ecriture/">#écriture (15)</a>
- <a href="/david/2021/etiquette/">#étiquette (5)</a>
- <a href="/david/2021/exploration/">#exploration (5)</a>
- <a href="/david/2021/feminisme/">#féminisme (4)</a>
- <a href="/david/2021/foret/">#forêt (40)</a>
- <a href="/david/2021/frugalite/">#frugalité (6)</a>
- <a href="/david/2021/gafam/">#gafam (15)</a>
- <a href="/david/2021/gratitude/">#gratitude (18)</a>
- <a href="/david/2021/inclassable/">#inclassable (4)</a>
- <a href="/david/2021/incompetence/">#incompétence (35)</a>
- <a href="/david/2021/lecture/">#lecture (11)</a>
- <a href="/david/2021/materiel/">#matériel (4)</a>
- <a href="/david/2021/misanthropie/">#misanthropie (23)</a>
- <a href="/david/2021/neige/">#neige (7)</a>
- <a href="/david/2021/open-source/">#open-source (12)</a>
- <a href="/david/2021/pandemie/">#pandémie (44)</a>
- <a href="/david/2021/parentalite/">#parentalité (11)</a>
- <a href="/david/2021/partage/">#partage (23)</a>
- <a href="/david/2021/pharmakon/">#pharmakon (11)</a>
- <a href="/david/2021/poesie/">#poésie (5)</a>
- <a href="/david/2021/premieres-nations/">#premières-nations (4)</a>
- <a href="/david/2021/produit/">#produit (17)</a>
- <a href="/david/2021/protopie/">#protopie (5)</a>
- <a href="/david/2021/publication/">#publication (16)</a>
- <a href="/david/2021/recherche/">#recherche (29)</a>
- <a href="/david/2021/rythme/">#rythme (20)</a>
- <a href="/david/2021/scopyleft/">#scopyleft (5)</a>
- <a href="/david/2021/sociologie/">#sociologie (26)</a>
- <a href="/david/2021/technique/">#technique (47)</a>
- <a href="/david/2021/traces/">#traces (15)</a>
- <a href="/david/2021/transformation/">#transformation (49)</a>
- <a href="/david/2021/travail/">#travail (14)</a>
- <a href="/david/2021/utilisateur-ice/">#utilisateur·ice (5)</a>
- <a href="/david/2021/video/">#vidéo (21)</a>
- <a href="/david/2021/web/">#web (24)</a>
-
- </p>
- </nav>
-
- <h2>Publications hebdomadaires <a href="/david/2020/" title="Voir la liste de toutes les publications 2020">2020</a></h2>
-
- <p>Liste des publications en ordre chronologique :</p>
-
- <nav>
- <p>
- <a href="/david/2020/01/03/">Briques</a>,
- <a href="/david/2020/01/06/">Écriture</a>,
- <a href="/david/2020/01/10/">Travail</a>,
- <a href="/david/2020/01/15/">Futurs</a>,
- <a href="/david/2020/01/17/">Datagouv</a>,
- <a href="/david/2020/01/22/">Réponses</a>,
- <a href="/david/2020/01/29/">Sortie ski</a>,
- <a href="/david/2020/01/31/">Intentions</a>,
- <a href="/david/2020/02/07/">GAFAM+</a>,
- <a href="/david/2020/02/14/">Espoirs</a>,
- <a href="/david/2020/02/21/">Service</a>,
- <a href="/david/2020/03/13/">Technique</a>,
- <a href="/david/2020/03/20/">Rédemption</a>,
- <a href="/david/2020/03/27/">Exutoire</a>,
- <a href="/david/2020/04/03/">Patience</a>,
- <a href="/david/2020/04/10/">Résistance</a>,
- <a href="/david/2020/04/18/">Zam</a>,
- <a href="/david/2020/05/18/">Relance</a>,
- <a href="/david/2020/05/20/">Bikepacking</a>,
- <a href="/david/2020/05/26/">Covidoudou</a>,
- <a href="/david/2020/06/12/">Vrac</a>,
- <a href="/david/2020/06/18/">Mouvements</a>,
- <a href="/david/2020/06/25/">Ouvertance</a>,
- <a href="/david/2020/07/03/">Confetti</a>,
- <a href="/david/2020/07/13/">Bilan</a>,
- <a href="/david/2020/08/24/">Personnes</a>,
- <a href="/david/2020/09/01/">Rentrée</a>,
- <a href="/david/2020/09/07/">Rappels</a>,
- <a href="/david/2020/09/16/">Coupable</a>,
- <a href="/david/2020/10/08/">Parvenir</a>,
- <a href="/david/2020/10/22/">Grand-écart</a>,
- <a href="/david/2020/10/28/">Chaos</a>,
- <a href="/david/2020/11/27/">Perles</a>,
- <a href="/david/2020/12/01/">Compréhension</a>,
- <a href="/david/2020/12/13/">Publications</a>,
- <a href="/david/2020/12/15/">Vidéos</a>,
- <a href="/david/2020/12/18/">Arrakice</a>,
- <a href="/david/2020/12/21/">Livres</a>.
- </p>
- </nav>
-
- <h2>Recherche</h2>
-
- <p>Les contenus de ces dernières années sont indexés.</p>
-
- <form action="/david/recherche/" method="get">
- <label for="input-search">Termes de votre recherche :</label>
- <input type="search" name="s" required>
- <button>Chercher</button>
- </form>
-
-
- <h2>Publications archéologiques</h2>
-
- <p>
- Vous pouvez consulter les différents
- <a href="/david/blog/">billets de blog</a> qui ont été rédigés de 2004 à 2019
- ou les <a href="/david/stream/">entrées de journaux</a> relativement
- régulières entre 2009 et 2019.
- </p>
-
- <p>
- <em>
- Notez qu’avec un tel historique, certaines informations sont obsolètes et/ou
- plus cautionnées.
- </em>
- </p>
-
- <h2>Me contacter</h2>
-
- <p>
- Je réponds à <em>presque</em> tous les courriels reçus, exception faite de ceux que j’assimile à de la publicité ou du <code>spam</code>. Vous pouvez <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">m’écrire</a> sans trop de civilités et me tutoyer, je répondrai probablement de même. Si vous souhaitez correspondre de manière chiffrée, voici <a href="/static/david/david-larlet-pgp-public-key-1359EA98.asc" title="Clé publique de chiffrement">ma clé publique</a>.
- </p>
- </article>
-
-
- <hr>
-
- <footer>
- <p>
- <nobr>
- <a href="/david/" title="Aller à l’accueil"
- ><svg class="icon icon-home">
- <use
- xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-home"
- ></use>
- </svg>
- Accueil</a
- >
- </nobr>
- •
- <nobr>
- <a href="/david/log/" title="Accès au flux RSS"
- ><svg class="icon icon-rss2">
- <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-rss2"></use>
- </svg>
- Suivre</a
- >
- </nobr>
- •
- <nobr>
- <a href="http://larlet.com" title="Go to my English profile" data-instant
- ><svg class="icon icon-user-tie">
- <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-user-tie"></use>
- </svg>
- Pro</a
- >
- </nobr>
- •
- <nobr>
- <a href="mailto:david%40larlet.fr" title="Envoyer un courriel"
- ><svg class="icon icon-mail">
- <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-mail"></use>
- </svg>
- Email</a
- >
- </nobr>
- •
- <nobr>
- <abbr
- class="nowrap"
- title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340"
- ><svg class="icon icon-hammer2">
- <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-hammer2"></use>
- </svg>
- Légal</abbr
- >
- </nobr>
- </p>
- <template id="theme-selector">
- <form>
- <fieldset>
- <legend><svg class="icon icon-brightness-contrast">
- <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-brightness-contrast"></use>
- </svg> Thème</legend>
- <label>
- <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
- </label>
- <label>
- <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
- </label>
- <label>
- <input type="radio" value="light" name="chosen-color-scheme"> Clair
- </label>
- </fieldset>
- </form>
- </template>
- </footer>
- <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
- <script>
- function loadThemeForm(templateName) {
- const themeSelectorTemplate = document.querySelector(templateName)
- const form = themeSelectorTemplate.content.firstElementChild
- themeSelectorTemplate.replaceWith(form)
-
- form.addEventListener('change', (e) => {
- const chosenColorScheme = e.target.value
- localStorage.setItem('theme', chosenColorScheme)
- toggleTheme(chosenColorScheme)
- })
-
- const selectedTheme = localStorage.getItem('theme')
- if (selectedTheme && selectedTheme !== 'undefined') {
- form.querySelector(`[value="${selectedTheme}"]`).checked = true
- }
- }
-
- const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
- window.addEventListener('load', () => {
- let hasDarkRules = false
- for (const styleSheet of Array.from(document.styleSheets)) {
- let mediaRules = []
- for (const cssRule of styleSheet.cssRules) {
- if (cssRule.type !== CSSRule.MEDIA_RULE) {
- continue
- }
- // WARNING: Safari does not have/supports `conditionText`.
- if (cssRule.conditionText) {
- if (cssRule.conditionText !== prefersColorSchemeDark) {
- continue
- }
- } else {
- if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
- continue
- }
- }
- mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
- }
-
- // WARNING: do not try to insert a Rule to a styleSheet you are
- // currently iterating on, otherwise the browser will be stuck
- // in a infinite loop…
- for (const mediaRule of mediaRules) {
- styleSheet.insertRule(mediaRule.cssText)
- hasDarkRules = true
- }
- }
- if (hasDarkRules) {
- loadThemeForm('#theme-selector')
- }
- })
- </script>
-
- </body>
- </html>
|