Hi,
Recently i was facing this problem, while working with Visual Studio 2010. I created simple project without any javascript file. But while doing compilation, i started to get this error,
“Microsoft JScript runtime error: Invalid origin: http://static.ak.facebook.com”
Then i became surprise, from where this error is coming, i donot have included any script file. Then i observe there ask me toobar on My IE 10 browser.
Then i disable that toolbar from browser. After that i didnot get this error. You can also fix this issue after uninstalling ask me toolbar from control panel.
I hope this will help to some one.