Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Get TinyURL String

Get a TinyURL formed of JavaScript prompt dialog

When you create a tiny URL ( http://tinyurl.com/ ) by the browser, then you'll get a URL string formed of javascript prompt dialog. It's so easy to copy the URL string without PC mouse :)

example:






Mar 14, 2008
no_master User

I think that this script is smarter: "URL Shortener" http://userscripts.org/scripts/show/22029

With that you don't even have to go over to tinyurl.com's homepage to create a tinyurl. Plus it automatically copies the creates tinyurl to clipboard. You don't have to use neither mouse or go to tinyurl.coms homepage.

 
Mar 8, 2008
WindPower Scriptwright

That's impossible, JavaScript only allows you to make dialogs containing just "OK" (alert();), or "OK"/"Cancel" (confirm();), or "OK"/"Cancel" with a textbox (prompt()). You can't have just "OK" with the textbox. You can't have custom buttons like "Copy" or whatever.

 
Jan 21, 2008
simon! Scriptwright

Why there are OK and Cancel, anyway?
Why not only OK?

change it to Copy!

You could comment on this script if you were logged in.