I need to create a form which opens a url in view-source format
I've tried adding "view-source" to the action, which opens the new url in view-source mode, but without adding the form params in the url
<form action="view-source:http://yahoo.com" target="_blank">
Key: <input type="TEXT" name="key" required>
</form>
the above will open yahoo.com in view-source, but without the ?key=abc which is entered in the form
if I remove the view-source from the action, it will add the parameter but then I will have to manually click view-source
I am working with chrome, not sure how other browsers will act
Thoughts anyone? Tx Tomer