<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;pre&gt;
// ==UserScript==
// @name           IRCTC : Quick Book
// @namespace      http://gm.wesley.eti.br/irctc
// @description    Submits the form after the payment option be chosen
// @include        https://www.irctc.co.in/cgi-bin/bv60.dll/irctc/booking/quickBook.do?*
// ==/UserScript==

document.evaluate('//select[@name=&quot;gatewayID&quot;]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.addEventListener('change',function(e)
{
	e.target.form.elements.namedItem('Submit').click();
}, false);
&lt;/pre&gt;</body>
  <body-html>&lt;p&gt;&lt;pre&gt;
// ==UserScript==
// @name           IRCTC : Quick Book
// @namespace      http://gm.wesley.eti.br/irctc
// @description    Submits the form after the payment option be chosen
// @include        https://www.irctc.co.in/cgi-bin/bv60.dll/irctc/booking/quickBook.do?*
// ==/UserScript==

document.evaluate('//select[@name=&quot;gatewayID&quot;]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.addEventListener('change',function(e)
{
	e.target.form.elements.namedItem('Submit').click();
}, false);
&lt;/pre&gt;&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-11-08T16:59:41Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">17286</id>
  <topic-id type="integer">9596</topic-id>
  <updated-at type="datetime">2008-11-08T16:59:58Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">55607</user-id>
</post>
