1

Every time I run IE for seeing a javascript program, it says " Internet Explorer restricted this webpage from running scripts or ActiveX controls " and a button " Allow blocked content ". When I click it the problem is fixed, but I should do this every time. Does anybody know how I can fix it forever on - Internet Explorer - ?

Amin
  • 89
  • 1
  • 1
  • 4
  • Go through the Internet Options, and check the security settings for the zone. And btw., not a programming question, and off-topic for SO. – CBroe Nov 18 '16 at 09:32
  • Yes, completely off-topic. – tigerdi Nov 18 '16 at 09:34
  • Just as information. In our case the warning was because an image element in HTML that referenced an image in the file system, like: Regarding the suggestions below (like "Allow active content to run in files on My Computer") I do not consider these ones as solutions. Simply loosing the security settings only hides the problem, but might cause even more serious issues. – pholpar Jul 31 '17 at 07:20
  • @CBroe - I disagree it is off topic. I have added "(on my computer)" to the question (pending approval) because of course javascript is NOT generically blocked by IE, but it IS BLOCKED if the file is from your computer. And the reason it's a programming question is because IE11 painfully blocks all scripts in this circumstance, and the only reason I can see that Amin would want that is to test his Javascript (which he implies). Besides, I was having this problem and this was at top of Google's finds. – www-0av-Com May 21 '20 at 10:28

2 Answers2

5

1) Open Internet Explorer.

2) On the Tools menu select Internet Options.

3) Select the Advanced tab.

4) Scroll down to find the Security option.

5) Check the checkbox " Allow active content to run in files on My Computer ".

Amin
  • 89
  • 1
  • 1
  • 4
  • 2
    I don't want to downvote your answer, but I do not consider this one as solution. Simply loosing the security settings only hides the problem, but might cause even more serious issues. Find the real reason of the warning and fix that. – pholpar Jul 31 '17 at 07:30
  • 1
    @pholpar There is no rational reason. It blocks even `console.log("test");` IE is just the most terrible browser in the world! – Mike Siomkin Feb 09 '18 at 09:32
  • @pholpar I have added "(on my computer)" to the question (pending approval) because of course javascript is NOT generically blocked by IE, but it IS BLOCKED if the file is from your computer. And it is a setting that is extremely hard to find as it is not under the security tab, and indeed, changing security is unwise. To make it easier to find, I edited this answer and added "(not Security tab)" to item 3 and "(In IE11, you will find that in the lowest "Security" section, 2nd item from top of that section)" at end. (I'm putting this in the comment in case edits are not approved). – www-0av-Com May 21 '20 at 10:24
0

Taken from here: http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/internet-explorer-has-blocked-an-active-x-control/fe6ecb9d-5a39-4253-a553-352058a5a841

Step 1: To troubleshoot the active X pop issue, follow the steps and check if it helps:

a) Open Internet Explorer.

b) Click on Tools menu and select Internet Options.

c) Under Security tab click on Custom level.

d) Scroll down to the ActiveX controls and plug-ins group, and ensure that all ActiveX options are set to either “Enable” or “Prompt”. Since the remote viewing software is published in an unsigned state, please make certain that the options “Download unsigned ActiveX controls” and “Initialize and Script ActiveX controls not marked as safe” are set to “Prompt”

Liam
  • 27,717
  • 28
  • 128
  • 190
tigerdi
  • 612
  • 7
  • 13