I'm trying to store a JavaScript object in the URL of a web page (as a JSON string), but the URL contains some characters that will not work with HTML links.
On this page, a JavaScript object is loaded from the page's URL:
http://jsfiddle.net/tsUpC/1/show/#["Hello","World!"]
and on this page, I'm trying to create a link to the same page that is shown above, but the URL contains characters that are not allowed in hyperlinks:
<a href = "http://jsfiddle.net/tsUpC/1/show/#["Hello","World!"]">This link doesn't work because the URL contains characters that are not allowed in HTML links.</a>
Is it possible to embed JavaScript objects into URLs without using characters that are not compatible with hyperlinks?