I've recently downloaded this Firefox plugin:
https://addons.mozilla.org/en-US/fir...utofill-forms/

It has a feature called dynamic tags which do the following functions using Javascript:
<datetime> new Date().toLocaleString()
<useragent> navigator.userAgent
<langcode> navigator.language
<resolution> screen.width+'x'+screen.height
<clipboard> this.getClipboardText()


I was wondering if a JavaScript code exists that could get the
value of "nation=" for links like the one below

[url]http://m.nationstates.net/?nation=NATION_NAME_GOES_HERE

Any help would be appreciated and if I'm off my rocker feel free to tell me so