However, that means I can return to a mystery I have. I have this
version of shortnerer Ubiquity command (https://gist.github.com/891100;
hurl is obviously our internal shortener inside of VPN).
The problem is that quite often the URL it tries to shorten is not the
one of the actual tab (but something shorter), and I don't how to
persuade Ubiquity about the proper URL of the current tab.
Any ideas, what can I do wrong, please?
Thanks,
Matěj
--
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
God is not worried about my financial situation.
> baseURL = 'http://hurl.test.redhat.com/new?' + args.object.text;
You want `encodeURIComponent(args.object.text)` here.
Doesn't help (and I didn't expect it to, although it is obviously a
correct way) ... Ubiquity just doesn't give to my script URL of the
current tab.
Matěj
--
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
Less is more or less more.
-- Y_Plentyn on #LinuxGER
(from fortunes -- I cannot resist :-)
What kind of URL are you getting instead?
Note that `noun_type_url` can suggest your input, selection and/or
history as well.
It is not 100% reproducible, but it looks like the last URL used by the
previous use of Ubiquity (even in other tabs).
Matěj
--
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
We can tell our level of faith in what God wants to do for us by
our level of enthusiasm for what we want God to do for other.
-- Dave Schmelzer