logo  URL Link

Utilisation

Sélectionnez du texte sur une page Web, dans une zone de saisie (formulaire en ligne) ou un courriel et cliquez droit.

Functionality

Custom search and replace

Custom search and replacements can be applied to the selection. The default settings are two values that were in earlier versions of URL Link (for Thunderbird) and which can now be added to or replaced. The replacement is done after leading & trailing rubbish has been removed, and after all backslashes have been converted to forward slashes.

The entry format in the preferences tab is “searchRegExp||Replacement||regExpFlags”. The final “||” and flags are optional; the most likely (JavaScript) flag you may want is 'g' for “global” (or “replace-all”). The replacement may contain the usual “$n” search pattern references.

E.g., you receive emails with Windows file links like “\\server\share\file”. However, you are on a Linux box with the Windows share mapped to “/mnt/smb/username/share”. You would need to add an entry to the end of the list (note that backslashes have already been converted and the default entries convert “//server/share” to “file:///server/share”) of the form: “file:///server/share||file:///mnt/smb/username/share”.

If you need to debug your expressions, add the special (to URL Link) RegExp flag “D”, as in: ‘from||to||D’. Then, URL Link will open an alert window telling you what your expression is (“Conversion:”), what the selection is at that point (“From:”) and what the expression has done to the selection (“To:”).

Forthcoming changes

Translations

If you would like to help by translating URL Link to your native language, email me translated versions of the files you'll find on GitHub.

Don't include this section of the help file, though!

Contact

Licence

This source code, like the Mozilla source, is licensed under a disjunctive tri-licence giving you the choice of one of the three following sets of free software/open source licensing terms:

Valid HTML 4.01
      Transitional