MozillaZine

escape characters in copied URL

User Help for Seamonkey and Mozilla Suite
lvm
 
Posts: 84
Joined: June 27th, 2005, 6:17 am

Post Posted June 23rd, 2018, 11:10 pm

URL containing special characters is displayed unescaped in the address line but when it is copied from the address line to clipboard special character are escaped with percents e.g. https://www.google.co.uk/search?hl=en&q="letters and spaces" becomes https://www.google.co.uk/search?hl=en&q ... 0spaces%22. Is there a way do disable this and copy URL unescaped? The only configuration option I found - network.standard-url.escape-utf8, controls escaping of national non-ascii characters but not the ascii special characters like spaces or quotation marks.

therube

User avatar
 
Posts: 19116
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted June 24th, 2018, 7:27 am

Wonder if you could do that with a bookmarlet?
Pulls the current page URL but does so without "safely" encoding (URL encoding) it?

Note that if you don't select the entire URL, it is left unchanged.

Sample: http://example/test.php?p=(28999)+999+999

If you copy the entire URL, you get, http://example/test.php?p=%28999%29+999+999.
If you leave out the 'h' when you make your copy, ttp://example/test.php?p=(28999)+999+999, you get, ttp://example/test.php?p=(28999)+999+999.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 2 guests