In Google Chrome (version 55, Windows 7 Pro) the action attribute of the <form> tag changes from / to data:, if you include HTML and JavaScript in the code snippet, and after the first time you submit the form.
Steps:
-
Go to http://hilite.me
-
Enter the following code in the snippet editor:
<button type="button" data-action="remove">Remove Phone</button>
-
Click the "Highlight" button
-
Open the developer console and inspect the <form> tag
-
The action attribute is now data:, instead of /
This causes the page URL to change to "data:," in the browser when clicking the "Highlight" button again.
In Firefox and Internet Explorer, the action attribute remains /.