ShareShortcuts

Scrub URL

\ A simple utility for cleaning unnecessary information (?

blue
Fork “Scrub URL”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så blue får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
52K
Gemt
1
Handlinger
9
Kategori
Værktøjer
Version
1.0
Sprog
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)...

Nyheder

Version 1.0

First release

Versionshistorik
1.0 25. mar. 2021

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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)
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra blue

Se alle

Du vil måske også kunne lide

Se alle
Annonce