ActiveX Custom Input Prompt

HI, I have been hit with the activeX problem while using the custom input activity.
I have already looked at the solution given here:
How to disable the ActiveX prompt while using Custom Input Activity?

But adding the tag doesn’t seem to be working for me.
Also, I have changed all the internet options to accomodate ActiveX controls, but the prompt still shows up. I was wondering if there is any other fix to this.

This is the code for the webpage i am displaying if anyone is wondering

<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html>
   <head>
      <style>
     body {font-family: Arial, Helvetica, sans-serif;}
     form {border: 3px solid #f1f1f1;}
     input[type=text], input[type=password] {
     width: 100%;
     padding: 12px 20px;
     margin: 8px 0;
     display: inline-block;
     border: 1px solid #ccc;
     box-sizing: border-box;
     }
     input[type=button] {
     background-color: #4CAF50;
     color: white;
     padding: 14px 20px;
     margin: 8px 0;
     border: none;
     cursor: pointer;
     width: 100%;
     }
     input[type=button]:hover {
     opacity: 0.8;
     }
     .imgcontainer {
     text-align: center;
     margin: 24px 0 12px 0;
     }
     img.avatar {
     width: 40%;
     border-radius: 50%;
     }
     .container {
     padding: 16px;
     }
     span.psw {
     float: right;
     padding-top: 16px;
     }
     /* Change styles for span and cancel button on extra small screens */
     @media screen and (max-width: 300px) {
     span.psw {
     display: block
     float: none;
     }
     }
      </style>
      </head>
  <body>
  <h2>Login Form</h2>
  <form>
     <div class="imgcontainer">
        <img src="img_avatar2.png" alt="Avatar" class="avatar">
     </div>
     <div class="container">
        <label for="firstname"><b>Username</b></label>
        <input type="text" id= "Firstname" placeholder="Enter Username" name="firstname">
        <label for="lastname"><b>Password</b></label>
        <input type="password" placeholder="Enter Password" name="lastname" id="Lastname">
        <input type="button" value ="Submit" id="SubmitButton">
     </div>
  </form>
  <script>
     document.getElementById("SubmitButton").onclick = function() {
     
     // After the values have been submited we gather all the relevant data
     		var FirstName = document.getElementById("FirstName").value;
     		var LastName = document.getElementById("LastName").value;
     		var OutputString = FirstName + "--__--" + LastName;
     		window.external.setResult(OutputString);
     		};
     
  </script>
 </body>
</html>`

@CADLAB
What version of windows are you running? What version of IE are you running?

I was able to get your html to load just fine without seeing the security popup.
I’m running:
Windows Server 2016 Datacenter
IE 11.3024.14393.0