ShareShortcuts

Scrub URL

\ A simple utility for cleaning unnecessary information (?

blue
Bifurcar “Scrub URL”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que blue reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
52K
Guardado
1
Acciones
9
Categoría
Utilities
Versión
1.0
Idioma
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)...

Novedades

Versión 1.0

First release

Historial de versiones
1.0 25 de mar. de 2021

First release

Qué hace

9 acciones
  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

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#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)
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de blue

Ver todo

También te puede gustar

Ver todo
Publicidad