ShareShortcuts

Scrub URL

\ A simple utility for cleaning unnecessary information (?

blue
Dupliquer « Scrub URL »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que blue soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
52K
Enregistré
1
Actions
9
Catégorie
Utilities
Version
1.0
Langue
EN

## A simple utility for cleaning unnecessary information (? and what‘s after it) from a URL.

## About

Unfortunately, this is *not* the Ultimate Link Cleaner utility I have aspired to make for as long as I‘ve curated web content in various forms, but it will at least reliably perform one function: removing “tracking“ metadata (? and the stuff after it) by disassembling a given URL and reassembling *only* the host and the path. That‘s it. It will *not* function if redirection is involved.

### Functions

**As configured by default... **

(Subject to your preference!)

1. Retrieves current clipboard

2. Finds the host (host.com) in the URL

3. Finds the path (/path) in the URL

4. Combines the raw text of the host and the path to (hopefully) form a link without a scheme (host.com/path)

5. Recognizes this raw text as a real URL, adding a scheme (http://host.com/path.)

6. Copies the result to the clipboard

My line is open any time if you have suggestions/feedback/feel like harassing someone for an unrelated reason:

## Contact

* [Email](mailto:davidblue@extratone.com)

* [Twitter](https://twitter.com/NeoYokel)

* [Mastodon](https://mastodon.social/@DavidBlue)

* [Discord](https://discord.gg/0b9KQUKP858b0iZF)

* [*Everywhere*](https://www.notion.so/rotund/9fdc8e9610b34b8f991ebc148b760055?v=c170b58650c04fbdb7adc551a73d16a7)...

Nouveautés

Version 1.0

First release

Historique des versions
1.0 25 mars 2021

First release

Ce qu’il fait

9 actions
  1. Comment
    ## A simple utility for cleaning unnecessary information (? and what‘s after it) from a URL. ## About Unfortunately, this is *not* the Ultimate Link Cleaner utility I have aspired to make for as long as I‘ve curated web content in various forms, but…
  2. Get Clipboard
  3. Get Component of URL
  4. Get Component of URL
  5. Get Text from Input
  6. Get Text from Input
  7. Text
  8. URL
    …
  9. Copy to Clipboard

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/web'
#include 'actions/sharing'
#define color blue
#define glyph personSpeech

/*
## A simple utility for cleaning unnecessary information (? and what‘s after it) from a URL.

## About

Unfortunately, this is *not* the Ultimate Link Cleaner utility I have aspired to make for as long as I‘ve curated web content in various forms, but it will at least reliably perform one function: removing “tracking“ metadata (? and the stuff after it) by disassembling a given URL and reassembling *only* the host and the path. That‘s it. It will *not* function if redirection is involved.

### Functions

**As configured by default... **(Subject to your preference!)

1. Retrieves current clipboard
2. Finds the host (host.com) in the URL
3. Finds the path (/path) in the URL
4. Combines the raw text of the host and the path to (hopefully) form a link without a scheme (host.com/path)
5. Recognizes this raw text as a real URL, adding a scheme (http://host.com/path.)
6. Copies the result to the clipboard

My line is open any time if you have suggestions/feedback/feel like harassing someone for an unrelated reason:

## Contact

* [Email](mailto:[email protected]) 
* [Twitter](https://twitter.com/NeoYokel)
* [Mastodon](https://mastodon.social/@DavidBlue)
* [Discord](https://discord.gg/0b9KQUKP858b0iZF)
* [*Everywhere*](https://www.notion.so/rotund/9fdc8e9610b34b8f991ebc148b760055?v=c170b58650c04fbdb7adc551a73d16a7)...
*/
getClipboard()
const ComponentOfURL = getURLDetail(, "Host")
const ComponentOfURL1 = getURLDetail(, "Path")
getText(ComponentOfURL)
getText(ComponentOfURL1)
const URL = url()
setClipboard(URL)
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de blue

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité