Doplnky pre prehliadač Firefox
  • Rozšírenia
  • Témy vzhľadu
    • Pre Firefox
    • Slovníky a jazykové balíky
    • Stránky ostatných prehliadačov
    • Doplnky pre Android
Prihlásiť sa
Náhľad témy Format Link

Format Link Autor: Hiroaki Nakamura

Format a link and copy it to the clipboard in your favorite format. You can use keyboard shortcuts, the toolbar button, or context menus to copy a link. You can escape meta characters, for example ] (closing square bracket) in markdown title.

4.3 (39 reviews)4.3 (39 reviews)
937 používateľov937 používateľov
Na použitie tohto rozšírenia budete potrebovať Firefox
Stiahnuť Firefox a získať rozšírenie
Stiahnuť súbor

Metadáta rozšírenia

O tomto rozšírení
  • How to use
    You can use keyboard shortcuts, context menus, or the toolbar button of Format Link extension
    to copy a link in the specified format. Before doing that, you can optionally select some text
    which may or may not contain a link.
    • keyboard shortcut
      The keyboard shortcut for "Copy a link in the default format" is shortcut for clicking the
      toolbar button. The link is copied in the default format and the popup is shown under
      the toolbar button.

      Also there are shortcuts for copying in the link in the corresponding format regardless of
      the default format.

      See Manage extension shortcuts in Firefox | Firefox Help for showing and changing keyboard shortcuts.
    • context menu
      Open the context menu and select the "Format Link as XXX" menu item.
      "XXX" in the menu item label changes as you change the default format by clicking the "Set as default" button in the popup page for the toolbar button.

      If you check the "Create submenus" in the options page and save the options,
      submenus for each format are created under the "Format Link" context menu group.
    • toolbar button
      When you press the toolbar button of "Format Link", the link is copied in the default format,
      the popup page becomes open, and the formatted text is shown in the text area.

      If you want to copy the link in different format, you can press one of the radio buttons.

      Also if you want to change the default format, you can press the "Set as default" button.
  • Flexible settings
    You can modify formats in [Tools] -> [Extensions] -> Clik "Options" link in "Format Link" Extension. In format settings, you can use the mini template language.
    • variable reference: {{variable}}
      • variable = title / url / text
      • The value of variable title is the HTML page title.
      • The value of variable text is the selected text if some text is selected, or the page URL if no text is selected.
      • The value of the variable url is the link URL is the link if you open the context menu over a link,
        the first link if selection contains a link, or the HTML page URL otherwise.
      • No spaces are allowed between variable name and braces.
    • string substitution: {{variable.s("foo","bar")}}
      • Which means variable.replace(new RegExp("foo", 'g'), "bar")
      • You can use escape character \ in strings.
      • You must escape the first argument for string and regexp. For example, .s("\[","\[") means replacing [ with \[
      • You can use the escape character \ in strings. For example, you need to escape `\` with `\` like `\\`,
        and also you need to escape `{` with `\` like `\{`. See the LaTeX example below.
      • You can chain multiple .s("foo","bar")
      • You can use the escape character \
      • Other characters are treated as literal strings.
    • Examples:
      • Markdown
        [{{text.s("\\[","\\[").s("\\]","\\]")}}]({{url.s("\\)","%29")}})
      • reST
        {{text}} <{{url}}>`_
      • HTML
        <a href="{{url.s("\"",""")}}">{{text.s("<","&lt;")}}</a>
      • Text
        {{text}}\n{{url}}
      • LaTeX
        \\href\{{{url}}\}\{{{text}}\}
      • Redmine Texitile
        "{{title.s("\"","&quot;").s("\\[","&#91;")}}":{{url}}
  • KNOWN LIMITATIONS
    • Due to security reason, you cannot copy the URL on some pages like addons.mozilla.org. See Content scripts - Mozilla | MDN for details.
Hodnotené 4,3 od 39 recenzentov
Ak chcete ohodnotiť toto rozšírenie, musíte sa prihlásiť
Doplnok zatiaľ nie je ohodnotený

Hodnotenie bolo uložené

5
27
4
5
3
2
2
3
1
2
Prečítajte si 39 recenzií
Povolenia a údajeĎalšie informácie

Požadované oprávnenia:

  • Vkladať údaje do schránky
  • Pristupovať ku kartám prehliadača
Ďalšie informácie
Odkazy doplnku
  • Domovská stránka
  • Stránka podpory
  • E‑mail podpory
Verzia
5.4.1
Veľkosť
58,94 kB
Posledná aktualizácia
pred 2 rokmi (27. mar 2023)
Príbuzné kategórie
  • Vzhľad
  • Sociálne siete a komunikácia
Licencia
Licencia MIT
História verzií
  • Zobraziť všetky verzie
Pridať do kolekcie
Nahlásiť tento doplnok
Ďalšie rozšírenia od autora Hiroaki Nakamura
  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

Prejsť na domovskú stránku Mozilly

Doplnky

  • O nás
  • Blog o doplnkoch pre Firefox
  • Workshop tvorby rozšírenia
  • Centrum pre vývojárov
  • Pravidlá pre vývojárov
  • Komunitný blog
  • Fórum
  • Nahlásiť chybu
  • Pokyny pre recenzentov

Prehliadače

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Súkromie
  • Cookies
  • Právne informácie

Ak nie je uvedené inak, obsah tejto stránky je dostupný pod licenciou Creative Commons Attribution Share-Alike License v3.0 alebo jej akejkoľvek vyššej verzie.