Skip to content

Obfuscate URLs so they aren't spoilers

License

Notifications You must be signed in to change notification settings

emacsmirror/obfusurl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MELPA Stable MELPA

Commentary

obfusurl.el provides obfusurl, a command that will obfuscate an URL under the cursor. This might be useful if you are writing out an URL for someone but the URL itself might spoil the surprise.

For example, this:

<URL:http://www.davep.org/emacs/>

is turned into this:

<URL:http://www.davep.org/%65%6d%61%63%73/>

The latest obfusurl.el is always available from:

   <URL:https://github.com/davep/obfusurl.el>
   <URL:https://github.com/%64%61%76%65%70/%6f%62%66%75%73%75%72%6c%2e%65%6c>

Thanks

Andy Sawyer andys@morebhp.com for initially pointing out that URLs with percent escapes already in them would get broken.

Kevin Rodgers kevinr@ihs.com for suggesting a method of fixing the above.

Toby Speight streapadair@gmx.net for pointing out that I needed to cater for reserved characters.

Packages

No packages published

Languages

  • Emacs Lisp 100.0%