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
example:
|
|
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. |
|
|
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. |
|
|
Why there are OK and Cancel, anyway?
change it to Copy! |
You could comment on this script if you were logged in.
