<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>There are several ways, probably half a dozen ways, see if this works since this is probably the common method here...
Obviousely change the UPPERCASE values.
&lt;pre&gt;
if((window.location.href == &quot;https://tools.otenet.gr/tools/index.do&quot;) &amp;&amp; document.forms.namedItem(&quot;loginform&quot;)){
  document.forms.namedItem(&quot;loginform&quot;).elements.namedItem(&quot;username&quot;).value = &quot;LOGINNAME&quot;;
  document.forms.namedItem(&quot;loginform&quot;).elements.namedItem(&quot;password&quot;).value = &quot;PASSWORD&quot;;
  document.forms.namedItem(&quot;loginform&quot;).submit();
}

if(window.location.href == &quot;https://tools.otenet.gr/tools/NEXTPAGE&quot;){
  window.location.href = &quot;http://tools.otenet.gr/tools/tiles/web2sms.do?showPage=smsSend&amp;mnu=smenu23&quot;;
}
&lt;/pre&gt;

That second part can be a problem because you need a very specific URL or item on the NEXTPAGE so that it doesn't fire on the wrong page.</body>
  <body-html>&lt;p&gt;There are several ways, probably half a dozen ways, see if this works since this is probably the common method here...
&lt;br /&gt;Obviousely change the UPPERCASE values.
&lt;br /&gt;&lt;pre&gt;
if((window.location.href == &quot;https://tools.otenet.gr/tools/index.do&quot;) &amp;amp;&amp;amp; document.forms.namedItem(&quot;loginform&quot;)){
  document.forms.namedItem(&quot;loginform&quot;).elements.namedItem(&quot;username&quot;).value = &quot;LOGINNAME&quot;;
  document.forms.namedItem(&quot;loginform&quot;).elements.namedItem(&quot;password&quot;).value = &quot;PASSWORD&quot;;
  document.forms.namedItem(&quot;loginform&quot;).submit();
}

if(window.location.href == &quot;https://tools.otenet.gr/tools/NEXTPAGE&quot;){
  window.location.href = &quot;http://tools.otenet.gr/tools/tiles/web2sms.do?showPage=smsSend&amp;amp;mnu=smenu23&quot;;
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;That second part can be a problem because you need a very specific URL or item on the NEXTPAGE so that it doesn't fire on the wrong page.&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-06-22T23:53:04Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">2560</id>
  <topic-id type="integer">583</topic-id>
  <updated-at type="datetime">2007-06-23T00:16:38Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">27110</user-id>
</post>
