• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Can't integrate Download Manager into Opera

    Opera for Windows
    5
    34
    13641
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • leocg
      leocg Moderator Volunteer @wealstarr last edited by

      @wealstarr What do you mean by *extensions can't communicate outside of browser.. *?

      Reply Quote 0
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        I tested with https://developer.chrome.com/extensions/nativeMessaging#examples, but modified the host python code for python 3 and changed the app to an extension for Opera (since Opera doesn't support Chrome apps, only extensions). Get the modifications from here.

        Opera does indeed read from "HKEY_CURRENT_USER\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.google.chrome.example.echo" on startup. And, on the extension page in Opera, messages from the native host are received.

        Reply Quote 0
          wealstarr 1 Reply Last reply
        • marysmith
          marysmith last edited by

          For Opera you have to enable "Use advanced browser integration" option in Options > General IDM dialog (arrow 1 on the image). Then check that integration into Opera is also enabled (arrow 2 on the image). If IDM shows some error, when you try to enable advanced browser integration, please read this instruction.

          Reply Quote 0
            wealstarr 1 Reply Last reply
          • wealstarr
            wealstarr @burnout426 last edited by

            @burnout426 Okay I did everything as you detailed. When clicking "connect" on
            chrome-extension://knldjmfmopnpolahpmmgbagdohdnhkik/main.html......
            I get the response "Failed to connect: Failed to start native messaging host"

            What now ?

            Reply Quote 0
              burnout426 1 Reply Last reply
            • wealstarr
              wealstarr @marysmith last edited by

              @marysmith Thank you for the help Mary but it's not IDM I'm trying to integrate.

              It's IDA https://westbyte.com/ida/index.phtml

              Reply Quote 0
                burnout426 1 Reply Last reply
              • burnout426
                burnout426 Volunteer @wealstarr last edited by burnout426

                @wealstarr If you run native-messaging-example-host.bat in a command prompt (that has Python in PATH), do you get any errors?

                Reply Quote 0
                  wealstarr 1 Reply Last reply
                • burnout426
                  burnout426 Volunteer @wealstarr last edited by

                  @wealstarr Will check that out to see if I can get it to work.

                  Reply Quote 0
                    wealstarr 1 Reply Last reply
                  • wealstarr
                    wealstarr @burnout426 last edited by

                    @burnout426 Can't thank you enough.

                    Here's the Chrome extension for IDA
                    https://chrome.google.com/webstore/detail/internet-download-acceler/fhjnbgadgmmffddcilnbmcieekimilcn?hl=en

                    Thanks again. This means alot

                    Reply Quote 1
                      burnout426 1 Reply Last reply
                    • wealstarr
                      wealstarr @burnout426 last edited by

                      @burnout426 said in Can't integrate Download Manager into Opera:

                      @wealstarr If you run native-messaging-example-host.bat in a command prompt (that has Python in PATH), do you get any errors?

                      I run the batch script native-messaging-example-host.bat elevated and command prompt quits on me even before I can see anything.

                      Here's the Chromium thread if you wanna add anything
                      https://bugs.chromium.org/p/chromium/issues/detail?id=1144453

                      Reply Quote 1
                        burnout426 1 Reply Last reply
                      • burnout426
                        burnout426 Volunteer @wealstarr last edited by

                        @wealstarr I can get IDA to work in Chrome, but not Opera and Vivaldi. Not sure why yet, but the problem is most likely an API compatibility issue in the IDA extension.

                        Reply Quote 0
                          burnout426 1 Reply Last reply
                        • burnout426
                          burnout426 Volunteer @burnout426 last edited by

                          @burnout426 I guess in Vivaldi, I have to choose save or open in the Vivaldi's save dialog to trigger IDA. In Opera, I have to click "Save" in Opera's save dialog to trigger IDA. IDA intercepts the download properly though. Opera and Vivaldi don't download a copy themselves.

                          Reply Quote 0
                            1 Reply Last reply
                          • burnout426
                            burnout426 Volunteer @wealstarr last edited by

                            @wealstarr said in Can't integrate Download Manager into Opera:

                            @burnout426 said in Can't integrate Download Manager into Opera:

                            @wealstarr If you run native-messaging-example-host.bat in a command prompt (that has Python in PATH), do you get any errors?

                            I run the batch script native-messaging-example-host.bat elevated and command prompt quits on me even before I can see anything.

                            Windows key + r to open run dialog.

                            Type cmd and press enter

                            cd "path bat file is in"

                            Type name native-messaging-example-host.bat and press enter.

                            Then you'll see what errors if any there are.

                            Reply Quote 0
                              wealstarr 1 Reply Last reply
                            • wealstarr
                              wealstarr @burnout426 last edited by

                              @burnout426 said in Can't integrate Download Manager into Opera:

                              native-messaging-example-host.bat

                              Hi burnout, this is what I got:

                              D:\Inbox\opera_nativemessage\host>native-messaging-example-host.bat
                              'python' is not recognized as an internal or external command,

                              Reply Quote 0
                                burnout426 1 Reply Last reply
                              • burnout426
                                burnout426 Volunteer @wealstarr last edited by

                                @wealstarr You have to install https://www.python.org/downloads/ (choose to add python to the PATH when asked in the installer).

                                Reply Quote 0
                                  wealstarr 1 Reply Last reply
                                • wealstarr
                                  wealstarr @burnout426 last edited by wealstarr

                                  @burnout426 As per the previous instructions I has python installed but this time I modified some options in the installer and it appears to be working.

                                  When I run native-messaging-example-host.bat a small window opens in which I input hi and the message was received in command prompt.

                                  Capture.PNG

                                  Reply Quote 0
                                    burnout426 1 Reply Last reply
                                  • burnout426
                                    burnout426 Volunteer @wealstarr last edited by

                                    @wealstarr said in Can't integrate Download Manager into Opera:

                                    a small window opens in which I input hi and the message was received in command prompt.

                                    Okay. Sounds like it's ready now. In Opera, with it connection, you should be able to type hi in that little window and send it to Opera.

                                    Reply Quote 0
                                      wealstarr 1 Reply Last reply
                                    • wealstarr
                                      wealstarr @burnout426 last edited by wealstarr

                                      @burnout426 I type hi in the little window and click send, I get response in the command prompt but nothing in Opera unless I'm missing something.

                                      BTW, this issue with Native Messaging Hosts has been previously noted to Google and it appears to be still open.
                                      https://bugs.chromium.org/p/chromium/issues/detail?id=1106717

                                      Reply Quote 1
                                        burnout426 1 Reply Last reply
                                      • burnout426
                                        burnout426 Volunteer @wealstarr last edited by

                                        @wealstarr said in Can't integrate Download Manager into Opera:

                                        I type hi in the little window and click send, I get response in the command prompt but nothing in Opera unless I'm missing something.

                                        You have to type in the host window that appears when you click "connect" on the main.html page in Opera and not the one launched form the .bat file. The latter is just a test.

                                        Reply Quote 0
                                          wealstarr 1 Reply Last reply
                                        • wealstarr
                                          wealstarr @burnout426 last edited by

                                          @burnout426 When I click connect I'm still getting ""Failed to connect: Failed to start native messaging host""

                                          Reply Quote 0
                                            burnout426 1 Reply Last reply
                                          • burnout426
                                            burnout426 Volunteer @wealstarr last edited by

                                            @wealstarr Hmm, not sure. It could just be my directions as I've never messed with this stuff before this thread.

                                            Are you able to get Opera to trigger IDA like I did though when clicking the "save" button in Opera's save dialog? Does that at least work for you?

                                            I'm on Windows 10 if it matters.

                                            Reply Quote 0
                                              wealstarr 1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-2025