ID:132285
 
JavaScript is enabled in Internet Explorer 9 (which I can't seem to downgrade). No JavaScript works inside of Dream Seeker on this one computer. I deleted everything on this computer related to BYOND (other than my Projects folder), reinstalled BYOND build 470, and it still doesn't work.

Something is causing JavaScript to not work with Dream Seeker on this computer. Does anyone have any clue why? I can't work on anything with HDK Mouse & Keys on my only good computer and it's very annoying.

I'm sorry if this is in the wrong place. Maybe it should have gone in the Help forum, but I've never posted there and don't know what to expect from it.
I would have to say it's probably IE's security settings and it isn't allowing JS to run on local sites.
In response to Lummox JR
It turns out you were completely right. I created a .html file with some example JavaScript from w3schools, saved it to my desktop, and ran it in IE9.

Internet Explorer proceeded to be completely unreasonable by popping up on a bottom info-bar:

Internet Explorer restricted this webpage from running scripts or ActiveX controls. [Allow Blocked Content]

I don't know if this is happening to everyone that installed IE9, but if anyone else has this problem, it would be a problem to make a game that makes excessive use of JavaScript to function. On this computer, I can't play games that use HDK's Mouse & Keys. A kind solution would be to implement proper mouse tracking in BYOND <_<

One workaround I've found was to upload that .html file to my BYOND files. I opened it up in IE9 and it worked perfectly. Maybe if all the JavaScript in HDK's library was uploaded to the internet, it would work, but only if the client had internet access.

Of course, Google Chrome never gave me any problems anywhere at all.
In response to Kaiochao
Funny thing is, I can't see a difference between the Internet Explorer's security settings on my laptop, compared to the settings on the desktop. When running a local .html file with javascript in it, IE prompts on both computers.
However, javascript works with BYOND on my laptop, while it doesn't work on my desktop.

Could it be a bug with BYOND, rather than my Internet Explorer? Or is there some other security setting I don't have access to?
In response to Kaiochao
I'm having this same issue. A big part of Tanx is the mouse controls and this javascript error is killing things. -__-

In the client.options do you get this error: "Element javascript not found."?
In response to Kaiochao
I haven't had any problem like this, and I have IE9. I am using some JavaScript in my Bored Game(Submission to Simple Developments Guild's Contest), and I haven't had any issues with it other than user error(This was my first experiment with JavaScript, so it took a while.).

I am using an Acer Aspire 5315 Laptop with Windows 7 and IE9.
In response to Albro1
It doesn't seem to cause issue with simple commands, but this issue seems to be killing Tanx which uses javascript heavily.
In response to Bravo1
I can't open the O&M window in Tanx, but that hasn't shown up anywhere.
In response to Kaiochao
Really? That's a new one. Are you using escape to open it or are you an a laptop? (some laptops have special key bindings, making escape a function combo, in some occasions)

If that's the case then I can find another key to assign it to.
In response to Bravo1
I'm hitting F1, which is the default key to open O&M. Pressing Esc doesn't help either... probably because I can't get the title screen buttons to fully show up due to some intense lag caused by the mouse library. This happens when opening the library's included demo, too. The mouse just flickers the "waiting" state with the rotating blue circle and I can't even close the window.
In response to Kaiochao
The "opt" button in the top right will get you the options and messages window, but the "F1" not working might be due to Forum_Accounts Pixel_movement, as it does some changing to the macros. I'll add in a key command that calls .options as well.
I've noticed something new with this issue and I've made a bug report reflecting it. If you'd like to check it out and give your findings, please refer to this bug report:

http://www.byond.com/members/ BYONDHelp?command=view_tracker_issue&tracker_issue=3309

It seems to have to do with map controls.
In response to Bravo1
Bravo1 wrote:
I've noticed something new with this issue and I've made a bug report reflecting it. If you'd like to check it out and give your findings, please refer to this bug report:

<s>http://www.byond.com/members/ BYONDHelp?command=add_tracker_issue&tracker=1</s>;
http://www.byond.com/members/ BYONDHelp?command=view_tracker_issue&tracker_issue=3309 *
It seems to have to do with map controls.
In response to Murrawhip
whoops, Thanks, I'll edit that right now.
In response to Kaiochao
This is why I use Firefox.
In response to Danbriggs
Using Firefox has nothing to do with this problem.