Not working again.. I reset all the settings to default in IE and still no go. I have no group policy added and IE is at default. WTF? Anyone have any ideas on how to get this script to work. still not grabbing the document.location.. just appending the pr number to the end of the current working directory.
Try window.location.href or simply location.href instead of document.location, and tell me the result.