0
25. 5. 2015.
Disabling same origin policy for automatization of webform data entry
There is often a need enter data in online documents. Web based interface is popular, but sometimes there is a need to fill the data using scripting and automation. JavaScript may enable automatic data entry, but it requires that script written in JavaScript executes on the same server where the form is being processed, due to protection mechanism of “same origin policy”. If needed, some browsers support disabling this policy, or there is alternative method to bypass it. The paper describes this method and includes a sample JavaScript code for automated data confirmation.