Howto use more than one account with "one" script

On top of the scripts page one can read this:

Even though your browser is not in the list,
you can use the script if you use one account for that script.

I guess that is what I experience with my tele2.nl script. I have a zonnet.nl and a tele2.nl account at Tele2. I have them both configured in XN, but with Chrome one is always greyed out. The greyed-out account gets activated when I click it in the XN-icon popup menu and the other account gets greyed out. I reckon this behavior is the same for more than 2 accounts.

It is pretty easy to get your accounts working simultaneously with Chrome/Safari/Opera by creating extra scripts (conforming to the above scripts page remark):

  1. Duplicate the current script for each account, giving each of them a unique name
  2. For each script:
    a)  Open the script in a texteditor (like notepad)
    b)  Adjust the var name to a unique one
    c)  Save the script
  3. In XN Options:
    a)  Add your extra scripts to XN
    b)  Add each account to XN using the corresponding script

Of course you have to remember repeating this when the script gets updated  by the script author.

So, I now have both my Tele2 accounts working simultaneously in XN for Chrome:

  1. The tele2.nl account uses the original tele2.nl.js script with var name="Tele2.nl"
  2. The zonnet.nl account uses the duplicated zonnet.nl.js script with var name="ZonNet.nl"

Like CFBancroft usually concludes:
                -  And ENJOY your extra working accounts with XN -

Cheers ;-)