GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 03:29:30 JST Joachim Joachim

    LE truc qui a changé mon usage du web ces derniers mois, c’est les caractères suivants :

    #:~:text=

    Cette formule magique permet de faire un lien direct vers un fragment de texte présent dans une page.

    Ce lien est composé d’une adresse, https://…/blablabla.html, à laquelle on ajoute #:~:text=, puis le texte qu’on cherche. Ici, c’est “Mais je ne veux pas fréquenter des fous” (sans guillemets).

    En cumulant les trois, le lien ciblera la première occurence de la phrase visée. Magie :zoop: ✨

    https://www.gutenberg.org/cache/epub/55456/pg55456-images.html#:~:text=Mais%20je%20ne%20veux%20pas%20fr%C3%A9quenter%20des%20fous

    In conversation about 6 months ago from boitam.eu permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: www.gutenberg.org
      Aventures d'Alice au pays des merveilles
      from Carroll, Lewis, 1832-1898
    • Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 03:32:40 JST Joachim Joachim
      in reply to

      Plus d’infos sur l’excellente doc MDN (en anglais) : https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        Text fragments - URIs | MDN
        from MozDevNet
        Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to annotate it with an ID, using particular syntax in the URL fragment. Supporting browsers are free to choose how to draw attention to the linked text, e.g. with a color highlight and/or scrolling to the content on the page. This is useful because it allows web content authors to deep-link to other content they don't control, without relying on the presence of IDs to make that possible. Building on top of that, it could be used to generate more effective content-sharing links for users to pass to one another.
    • Embed this notice
      Sunny :blobfoxsnug: (sunny@boitam.eu)'s status on Tuesday, 03-Dec-2024 03:33:05 JST Sunny :blobfoxsnug: Sunny :blobfoxsnug:
      in reply to

      @joachim Merci du rappel, c'est très chouette. Sur Firefox Android par contre je dois recharger la page pour y être amené, mais pas sur Chrome Android.

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 03:37:23 JST Joachim Joachim
      in reply to
      • Emmanuel 🌱

      @emmanuelc genre ça ?
      https://addons.mozilla.org/fr/firefox/addon/link-to-text-fragment/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search#:~:text=Link%20to%20Text%20Fragment

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: addons.mozilla.org
        Link to Text Fragment – Adoptez cette extension pour 🦊 Firefox (fr)
        Télécharger Link to Text Fragment pour Firefox. Browser extension that allows for linking to arbitrary text on a page.
    • Embed this notice
      Emmanuel 🌱 (emmanuelc@mamot.fr)'s status on Tuesday, 03-Dec-2024 03:37:24 JST Emmanuel 🌱 Emmanuel 🌱
      in reply to

      @joachim Chui trop flemmard, j'attends l'extension Firefox qui me permettra de sélectionner > clic droit > faire le lien 😉

      In conversation about 6 months ago permalink
    • Embed this notice
      Pierre \ Ra-Mon :vivaldi_blue: (ramon@social.vivaldi.net)'s status on Tuesday, 03-Dec-2024 04:57:22 JST Pierre \ Ra-Mon :vivaldi_blue: Pierre \ Ra-Mon :vivaldi_blue:
      in reply to

      @joachim j'aime aussi beaucoup cette idée de liens vers des fragments de texte, implémentée dans les brouteurs #Chromium depuis déjà quelques années et proposé à la standardisation par des gens de chez... G👀 gle 👍

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 04:57:22 JST Joachim Joachim
      in reply to
      • Pierre \ Ra-Mon :vivaldi_blue:

      @ramon bah c’est généralisé sur tous les navigateurs sérieux hein

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 05:31:57 JST Joachim Joachim
      in reply to
      • MonViolon

      @monviolon quelle version de Firefox est-ce que tu utilises ? Parce que c’est implémenté depuis la 131 : https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments#html.elements.a.text_fragments

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        Text fragments - URIs | MDN
        from MozDevNet
        Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to annotate it with an ID, using particular syntax in the URL fragment. Supporting browsers are free to choose how to draw attention to the linked text, e.g. with a color highlight and/or scrolling to the content on the page. This is useful because it allows web content authors to deep-link to other content they don't control, without relying on the presence of IDs to make that possible. Building on top of that, it could be used to generate more effective content-sharing links for users to pass to one another.
    • Embed this notice
      MonViolon (monviolon@framapiaf.org)'s status on Tuesday, 03-Dec-2024 05:31:58 JST MonViolon MonViolon
      in reply to

      @joachim 5 miutes que j'essaye, sur LibreWolf et Firefox, ça ne fait rien qu'un lien vers la page. Sur Chromium, ok et c'est chouette en effet (mais je n'utilise pas Chromium).
      J'attendrai que ce soit implémenté. 🤷

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 05:52:27 JST Joachim Joachim
      in reply to
      • David Guillot

      @david_guillot ah oui ça paraît ultra pertinent dans ce cas !

      In conversation about 6 months ago permalink
    • Embed this notice
      David Guillot (david_guillot@social.tchncs.de)'s status on Tuesday, 03-Dec-2024 05:52:29 JST David Guillot David Guillot
      in reply to

      @joachim Oui on avait une réflexion design dans mon dernier boulot qui était d'intégrer ça au moteur de recherche interne de notre site : à chaque URL renvoyée par le back-end de recherche, ajouter en suffixe l'ancre magique avec l'expression recherchée par l'utilisateur ou le match le plus proche trouvé par le back-end dans le document. On n'est pas allé jusqu'à l'implémentation mais l'idée m'avait plu !

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 06:24:03 JST Joachim Joachim
      in reply to
      • MonViolon

      @monviolon 107 ? Elle doit avoir 3 ans de retard non ?

      In conversation about 6 months ago permalink
    • Embed this notice
      MonViolon (monviolon@framapiaf.org)'s status on Tuesday, 03-Dec-2024 06:24:04 JST MonViolon MonViolon
      in reply to

      @joachim j'ai vu ça sur ton lien. C'est la 107.0 pour mon Firefox "basique" et la 130.0.0.1-1 (ah ?) pour le Firefox de LibreWolf. Presque, donc, c'est probablement pour la prochaîne MAJ ! 😋

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 06:41:21 JST Joachim Joachim
      in reply to

      Ce qui a tout changé pour moi c’est que ça enrichit vraiment le partage de liens. J’aime partager des liens. Un collègue a besoin d’une info ? Je lui trouve le bon endroit dans la doc sui fait 40 écrans de scroll. Une amie m’envoie un article amusant ? Je lui réponds un lien vers mon paragraphe préféré. Mon pire ennemi me calomnie ? Je lui réponds de manière passive agressive avec un lien ciblé sur la pire insulte dans une liste de mots vulgaires sur Topito (il ne mérite pas plus de considération que ça de ma part)

      Bref, ça a ses usages, ce truc.

      In conversation about 6 months ago permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 06:45:39 JST Joachim Joachim
      in reply to
      • Cédric Levasseur

      @CedricLevasseur ouaip https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments#html.elements.a.text_fragments

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        Text fragments - URIs | MDN
        from MozDevNet
        Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to annotate it with an ID, using particular syntax in the URL fragment. Supporting browsers are free to choose how to draw attention to the linked text, e.g. with a color highlight and/or scrolling to the content on the page. This is useful because it allows web content authors to deep-link to other content they don't control, without relying on the presence of IDs to make that possible. Building on top of that, it could be used to generate more effective content-sharing links for users to pass to one another.
    • Embed this notice
      Cédric Levasseur (cedriclevasseur@framapiaf.org)'s status on Tuesday, 03-Dec-2024 06:45:40 JST Cédric Levasseur Cédric Levasseur
      in reply to

      @joachim Ah ouais ? Ça marche sur autre chose que Firefox ?

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 16:12:19 JST Joachim Joachim
      in reply to
      • Emmanuel 🌱
      • Julianoë
      • Pтiт Poиeч de Fiиdцs

      @emmanuelc @Julianoe @0xdefec7edcafe je suis pas allé en profondeur mais je crois qu’il y a des extensions qui implémentaient la feature complète dans Firefox avant Firefox 131 (une sorte de polyfill en attendant l’implém dans le navigateur)

      il me semble que celle que j’ai conseillé ne fait que la copie du lien.

      In conversation about 6 months ago permalink
    • Embed this notice
      Emmanuel 🌱 (emmanuelc@mamot.fr)'s status on Tuesday, 03-Dec-2024 16:12:21 JST Emmanuel 🌱 Emmanuel 🌱
      in reply to
      • Julianoë
      • Pтiт Poиeч de Fiиdцs

      @Julianoe Finalement j'en ai utilisé une autre :
      https://addons.mozilla.org/fr/firefox/addon/link-to-text-fragment/ pointée par @joachim
      Elle ne demande qu'à accéder au presse-papier, alors que celle que tu me pointais voulait bien trop d'accès à mon goût.

      @0xdefec7edcafe

      In conversation about 6 months ago permalink

      Attachments


      1. https://static.mamot.fr/media_attachments/files/113/585/659/333/482/047/original/64ab694e3fa57e48.png
      2. Domain not in remote thumbnail source whitelist: addons.mozilla.org
        Link to Text Fragment – Adoptez cette extension pour 🦊 Firefox (fr)
        Télécharger Link to Text Fragment pour Firefox. Browser extension that allows for linking to arbitrary text on a page.
    • Embed this notice
      Julianoë (julianoe@mastodon.xyz)'s status on Tuesday, 03-Dec-2024 16:12:22 JST Julianoë Julianoë
      in reply to
      • Emmanuel 🌱
      • Pтiт Poиeч de Fiиdцs

      @0xdefec7edcafe @emmanuelc @joachim comme un paquet de fonctionnalités du web en vérité. Générer l'intégralité d'une page web avec du JS c'est un hack pour ainsi dire, pas la façon dont sont pensés les standards.
      J'imagine que l'implémentation peut varier selon comment c'est géré par le navigateur

      In conversation about 6 months ago permalink
    • Embed this notice
      Pтiт Poиeч de Fiиdцs (0xdefec7edcafe@piaille.fr)'s status on Tuesday, 03-Dec-2024 16:12:24 JST Pтiт Poиeч de Fiиdцs Pтiт Poиeч de Fiиdцs
      in reply to
      • Emmanuel 🌱
      • Julianoë

      @emmanuelc @Julianoe @joachim pas mal, mais ça marche mieux sur du contenu html qui n'est pas généré en JS

      In conversation about 6 months ago permalink
    • Embed this notice
      Emmanuel 🌱 (emmanuelc@mamot.fr)'s status on Tuesday, 03-Dec-2024 16:12:25 JST Emmanuel 🌱 Emmanuel 🌱
      in reply to
      • Julianoë

      @Julianoe Ah ah ! Génial, merci 🙂 @joachim

      In conversation about 6 months ago permalink
    • Embed this notice
      Julianoë (julianoe@mastodon.xyz)'s status on Tuesday, 03-Dec-2024 16:12:26 JST Julianoë Julianoë
      in reply to
      • Emmanuel 🌱

      @emmanuelc @joachim voilà https://addons.mozilla.org/fr/firefox/addon/text-fragment/

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: addons.mozilla.org
        Text Fragment – Adoptez cette extension pour 🦊 Firefox (fr)
        Télécharger Text Fragment pour Firefox. Auto scroll to text fragment (#:~:text) and allow you to create link for selected text.
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 16:12:47 JST Joachim Joachim
      in reply to
      • Emmanuel 🌱
      • Julianoë
      • Pтiт Poиeч de Fiиdцs

      @emmanuelc @Julianoe @0xdefec7edcafe (ce qui expliquerait la différence de permissions demandées ?)

      In conversation about 6 months ago permalink
    • Embed this notice
      デイヴ (deivudesu@mastodon.social)'s status on Tuesday, 03-Dec-2024 16:16:03 JST デイヴ デイヴ
      in reply to

      @joachim J'avais découvert il y a qques mois (peut-être par toi d'ailleurs) et c'est en effect génial.

      Je suis en train de me dire que c'est typiquement le truc pour lequel un bookmarklet serait idéal…

      In conversation about 6 months ago permalink

      Attachments


    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 16:16:03 JST Joachim Joachim
      in reply to
      • デイヴ

      @deivudesu il y a une extension : https://addons.mozilla.org/fr/firefox/addon/link-to-text-fragment/

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: addons.mozilla.org
        Link to Text Fragment – Adoptez cette extension pour 🦊 Firefox (fr)
        Télécharger Link to Text Fragment pour Firefox. Browser extension that allows for linking to arbitrary text on a page.
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 16:18:17 JST Joachim Joachim
      in reply to
      • Deuchnord

      @deuchnord c’est tout récent dans Firefox, quelques mois à peine il me semble

      In conversation about 6 months ago permalink
    • Embed this notice
      Deuchnord (deuchnord@social.deuchnord.fr)'s status on Tuesday, 03-Dec-2024 16:18:18 JST Deuchnord Deuchnord
      in reply to

      @joachim ah donc c’est pas spécifique à Chrome ? Je savais pas que c’était standardisé ! 😯

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 16:49:21 JST Joachim Joachim
      in reply to

      Comme cette astuce est utile, j’en ai fait un article sur mon carnet web : https://blog.professeurjoachim.com/billet/2024-12-03-lier-un-fragment-de-texte-dans-une-page-web

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: blog.professeurjoachim.com
        Lier un fragment de texte dans une page web
        LE truc qui a changé mon usage du web ces derniers mois, c’est les caractères suivants : #:~:text= Cette formule magique permet de faire un lien …
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 18:05:10 JST Joachim Joachim
      in reply to
      • Baptiste Fluzin

      @bfluzin http://www.la-fontaine-ch-thierry.net/singdof.htm#:~:text=Bien%20grand%20merci

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: www.la-fontaine-ch-thierry.net
        fable Jean de La Fontaine : Le singe et le dauphin
        fable annot馥 et illustr馥 de Jean de La Fontaine, Le singe et le dauphin
    • Embed this notice
      Baptiste Fluzin (bfluzin@tldr.nettime.org)'s status on Tuesday, 03-Dec-2024 18:05:12 JST Baptiste Fluzin Baptiste Fluzin
      in reply to

      @joachim https://fr.wikisource.org/wiki/Contes_d%E2%80%99Andersen/Les_Habits_neufs_du_Grand-Duc#:~:text=%C2%AB%20C%E2%80%99est%20magnifique%20!%20%C2%BB

      In conversation about 6 months ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        Contes d’Andersen/Les Habits neufs du Grand-Duc - Wikisource
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 18:05:56 JST Joachim Joachim
      in reply to
      • Suricat

      @Tacitus oui, avec les préfixe et suffixe tu peux cibler assez exactement lorsqu’il y a plusieurs occurences !

      In conversation about 6 months ago permalink
    • Embed this notice
      Suricat (tacitus@masto.bike)'s status on Tuesday, 03-Dec-2024 18:05:57 JST Suricat Suricat
      in reply to

      @joachim C'est potentiellement très complet

      https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments

      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: developer.mozilla.org
        Text fragments - URIs | MDN
        from MozDevNet
        Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to annotate it with an ID, using particular syntax in the URL fragment. Supporting browsers are free to choose how to draw attention to the linked text, e.g. with a color highlight and/or scrolling to the content on the page. This is useful because it allows web content authors to deep-link to other content they don't control, without relying on the presence of IDs to make that possible. Building on top of that, it could be used to generate more effective content-sharing links for users to pass to one another.
    • Embed this notice
      Suricat (tacitus@masto.bike)'s status on Tuesday, 03-Dec-2024 18:05:58 JST Suricat Suricat
      in reply to

      @joachim je vais explorer, j'aime bien l'idée de faire le lien n'importe où sans avoir de balise dans une page, ça peut être génial pour de la documentation !

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 18:20:23 JST Joachim Joachim
      in reply to
      • Suricat

      @Tacitus l’implem date de FF 131 🤔

      In conversation about 6 months ago permalink
    • Embed this notice
      Suricat (tacitus@masto.bike)'s status on Tuesday, 03-Dec-2024 18:20:24 JST Suricat Suricat
      in reply to

      @joachim sous FF 128.5 ESR

      In conversation about 6 months ago permalink
    • Embed this notice
      Suricat (tacitus@masto.bike)'s status on Tuesday, 03-Dec-2024 18:20:25 JST Suricat Suricat
      in reply to

      @joachim ça n'a pas l'air de fonctionner à chaque fois ou en tout cas pas reproductible, c'est étrange

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 03-Dec-2024 18:42:55 JST Joachim Joachim
      in reply to
      • Suricat

      @Tacitus dans ce cas je sais pas trop :beetthinking:

      In conversation about 6 months ago permalink
    • Embed this notice
      Suricat (tacitus@masto.bike)'s status on Tuesday, 03-Dec-2024 18:42:56 JST Suricat Suricat
      in reply to

      @joachim 131 c'est 128.3 esr

      In conversation about 6 months ago permalink
    • Embed this notice
      Le gars du bocage (au_bon_rural@boitam.eu)'s status on Monday, 09-Dec-2024 22:33:06 JST Le gars du bocage Le gars du bocage
      in reply to

      @joachim J'arrête pas de m'en servir depuis que tu as partagé ce tuyau ! 🙏

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Monday, 09-Dec-2024 22:36:52 JST Joachim Joachim
      in reply to
      • Le gars du bocage

      @au_bon_rural hehe tant mieux, c’est super pratique :)

      In conversation about 6 months ago permalink
    • Embed this notice
      Julianoë (julianoe@mastodon.xyz)'s status on Tuesday, 31-Dec-2024 06:28:36 JST Julianoë Julianoë
      in reply to

      @joachim pour info et pour celles et ceux que ça intéresse j'ai codé un petit snippet de JS. À utiliser pour créer un bookmarklet

      javascript:(function(){let selected=window.getSelection().toString().trim();if(selected){let encodedText=encodeURIComponent(selected);let currentUrl=window.location.href.split('#')[0];window.location.href=`${ currentUrl }#:~:text=${ encodedText }`}else{alert('Aucun texte sélectionner. Pour renvoyer à un fragment de la page, sélectionner du texte.')}})();

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Tuesday, 31-Dec-2024 06:34:39 JST Joachim Joachim
      in reply to
      • Julianoë

      @Julianoe c’est super ça ! Je vais voir comment l’ajouter à mon post en te mentionnant, si tu es ok :)

      In conversation about 6 months ago permalink
    • Embed this notice
      Joachim (joachim@boitam.eu)'s status on Thursday, 02-Jan-2025 21:00:33 JST Joachim Joachim
      in reply to
      • Julianoë

      J’ai ajouté un bout à mon article, merci @Julianoe pour le bookmarklet :zoop:

      https://blog.professeurjoachim.com/billet/2024-12-03-lier-un-fragment-de-texte-dans-une-page-web#:~:text=Le%20bookmarklet

      In conversation about 5 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: blog.professeurjoachim.com
        Lier un fragment de texte dans une page web
        Un petit article pour pérenniser sur le web une astuce qui a eu du succès sur le Fediverse.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.