In Firefox there is a preference in about:config called network.standard-url.escape-utf8 which disables escaping non-ASCII characters when copying URLs. When y is pressed, the escaped URL is always yanked despite of that preference.
I solved this for myself using thismap snippet, but I skipped the util.losslessDecodeURI part because it ignores the about:config preference too, so my map line in .pentadactylrc looks like this:
map y -js dactyl.clipboardWrite(options.get("yankshort").getKey(buffer.uri) && buffer.shortURL || buffer.uri.spec, true)
This issue was reported earlier, and a patch was proposed, but Google Code issues are now all gone – by the way, why? The project status can be unset from 'Moved' on Google Code so all the issues are viewable again.
In Firefox there is a preference in
about:config
called network.standard-url.escape-utf8 which disables escaping non-ASCII characters when copying URLs. Wheny
is pressed, the escaped URL is always yanked despite of that preference.I solved this for myself using this
map
snippet, but I skipped theutil.losslessDecodeURI
part because it ignores theabout:config
preference too, so mymap
line in.pentadactylrc
looks like this:map y -js dactyl.clipboardWrite(options.get("yankshort").getKey(buffer.uri) && buffer.shortURL || buffer.uri.spec, true)
This issue was reported earlier, and a patch was proposed, but Google Code issues are now all gone – by the way, why? The project status can be unset from 'Moved' on Google Code so all the issues are viewable again.