Getting Around ‘secure.ubi.com’ With Firefox Extensions

As part of some research I wanted to play the newly free ShadowBane MMO.

I downloaded the client (hint use gamershell.com) and went to setup my account on UBI’s secure billing site.

First the site informs me that I need IE version 5 or 6 or Netscape 7.

Share a laugh and go download the User-Agent Switcher Add-On for Firefox. You will also want to import a good amount of user agent signatures from this link (linked via TechPatterns.com)

Once you are pretending to be MSIE 6 on windows XP you will notice that the form is malfunctioning (intentionally?). To get around this you can use some grease monkey trickery.

First add the GreaseMonkey Add-On to your Firefox install.

Then create a new user script for ‘https://secure.ubi.com/billing/default.aspx’. Here’s the contents of the script. You will need to end the portions below that say YOURUSERNAME and YOURPASSWORD:

f = document.forms[0]
inp = f.appendChild(document.createElement('input'))
inp.name = 'INPUT_TEXT-login'
inp.type = 'text'
inp.value = 'YOURUSERNAME'
inp.size = 32
f.appendChild(inp)

inp = f.appendChild(document.createElement('input'))
inp.name = 'INPUT_TEXT-password'
inp.type = 'text'
inp.size = 32
inp.value = 'YOURPASSWORD'
f.appendChild(inp)

When you go back to the site hit ‘next’ and you will be past the broken login screen.

This entry was posted in debugging. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>