Prompt About Blank?

I am trying to create an HTML Prompt to display ChatGPT. The window displaying ChatGPT arrives in the right place at the right time. Rapidly followed by three dialog windows from the operating system bearing the news that “There is no application set to open the URL about:blank.” and helpfully offering to search the App Store for an application that can open this document.

I suspect this has something to do with a delay in the initialization of the window and the call for the web page. Here is the Custom Floating HTML Prompt set with Custom prompt with HTML text

<!DOCTYPE HTML>
<html>
<head>
    <meta charset=utf-8/>
</head>
<body data-kmhandleschemes="http https"
      data-kmwindow="SCREEN(Main,Left,70%),SCREEN(Main,Top,17%),500,800" style="width: 100%;">
</body>

<script>
    "use strict;";

    function KMHandleSchemes() { // either use this function to return schemes or in data attribute
        return "http https";
    }

    function KMInit() {
        window.location.href = "https://chatgpt.com/g/g[[Some identifying hash]]1c-mcc-style-helper?model=gpt-4o";
    }

</script>
</html>

How do I get rid of the helpful response I don’t need?

TIA

Here are a few links that seem to discuss with what you're describing.

The last one is an app mentioned in the discussions that deals with the about:blank page.

How to Load Another Webpage in the Custom HTML Prompt? - Questions & Suggestions - Keyboard Maestro Discourse

Beyond AboutWeb for the HTML Prompt - Questions & Suggestions - Keyboard Maestro Discourse

GitHub - szhu/AboutWeb: There is now an application set to open the URL about:blank.

I've been using this fix for ages now to clear up this problem.

@CRLF Thanks and @tiffle Thanks, will read through the threads. The laptop the macro is running on is managed by an organization. Installing software needs to go through gatekeepers. . . . So installing AboutWeb could be problematic. But will pursue this further.