initial commit
This commit is contained in:
commit
c474b7d96d
2 changed files with 61 additions and 0 deletions
41
README.md
Normal file
41
README.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# unfurl.py
|
||||
|
||||
Is Avanan email protection forced on you? Do you click avanan-checked links
|
||||
only to get a stupid sad document icon with an inside-out umbrella telling you
|
||||
"something went wrong" when all you wanted to do was change your email
|
||||
preferences from some stupid newsletter?
|
||||
|
||||
That's all this script does. It "unfucks" the URL that avanan wrapped in its
|
||||
own rewritten link.
|
||||
|
||||
Conveniently, their urls use a predictable
|
||||
http://url.avanan.click/___your_actual_url___/moreavananbs
|
||||
|
||||
This script just takes that jumbled URL, and plucks out the stuff between the
|
||||
___'s.
|
||||
|
||||
# Usage
|
||||
|
||||
## interactive
|
||||
```
|
||||
unfurl.py
|
||||
```
|
||||
|
||||
You'll be prompted for the url.
|
||||
|
||||
## As argument
|
||||
```
|
||||
unfurl.py "avananlink"
|
||||
```
|
||||
|
||||
## As stdin
|
||||
```
|
||||
echo "avananlink" | unfurl.py
|
||||
```
|
||||
|
||||
## directly from your clipboard, and then put the cleaned one back on your clipboard
|
||||
(using wayland's wl-copy/paste commands, but you can adjust based on whatever
|
||||
your clipboard manager is)
|
||||
```
|
||||
wl-paste | unfurl.py | wl-copyunf
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue