Go to Url

By Jamiie on Jun 20, 2008

I couldn't find a snippet to open your browser with the url

Usage: /go -c myspace; opens your browser with http://www.myspace.com
Switches: -o opens a .org site, -n opens a .net site, -c oepns a .com site, -co opens a .co.uk site.

alias go {
var %x $replace($1,-o,.org,-n,.net,-c,.com,-co,.co.uk)
run http://www. $+ $2- $+ %x
}

Comments

Sign in to comment.
Jamiie   -  Jun 24, 2008

Thanks Vaseline28, even better. :P

 Respond  
guest598594   -  Jun 23, 2008

Yea, I would use $replace as vaseline said.

 Respond  
napa182   -  Jun 21, 2008

you can also use url -a instead of run

 Respond  
vaseline28   -  Jun 20, 2008

Why not do:

alias go {
var %x $replace($1,-o,.org,-n,.net,-c,.com,-co,.co.uk)
run http://www. $+ $2- $+ %x
}

However, you would have to specify -c for something for .com this would allow you to open some more.
Prompted with: /go -c hawkee
Runs http://www.hawkee.com

 Respond  
Jonesy44   -  Jun 20, 2008

or -> start -> Mozzie

 Respond  
BlueThen   -  Jun 20, 2008

you can just type

/run www.hawkee.com

to open a website.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.