• 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
    13719
    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.
    • wealstarr
      wealstarr @leocg last edited by

      @leocg The issue is not on the part of those applications, it's the Chromium engine that is causing it.

      The integration is done through extension. Extension adds instructions in the browser to call upon a module to bridge the browser with the application but browser ain't fallowing those instructions.

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

        @wealstarr And they reported the bug to Chromium? There is a link to it?

        Maybe Chromium has changed something and the download manager needs to adapt to it?

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

          IDM used to work in Opera I think. I remember getting its extension from its installation directory. See https://forums.opera.com/post/184779.

          HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\com.dlhelper.ch

          For Opera, it'd have to be something like:

          HKEY_CURRENT_USER\SOFTWARE\Opera Software\NativeMessagingHosts\com.dlhelper.ch

          But, I don't know if Opera even looks for something like that. For example, Opera doesn't support any policies in the registry like Chrome does. I also don't remember if Opera even supports Native Messaging like regular Chromium and Chrome do. Not sure if IDM accomplishes things that way or a different way. Also not sure what com.dlhelper.ch is exactly and if it's something that has to be installed in a certain spot for Opera to recognize it.

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

            @leocg They couldn't reproduce it so here I'm

            I've filed a report with Chromium but I posted here to notify the Opera team, should they pay attention to this, unless they get behind it, it's not likely to get much traction over at Chromium.

            This is not about Chromium changes, other applications apart from download managers aren't working either.

            In short, extensions can't communicate outside of browser.

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

              @burnout426 Thanks for the reaction burnout but it's as I said it is. This is the Chromium module and Opera is supposed to follow the instructions under the registry hive I mentioned.

              I have tried all the way to install the extension into Opera which goes fine but the issue is whenever I click on it, it asks me to install the main program even though it's installed. That and since it can't detect the download manager, downloads are always passed to default Opera downloader.

              Reply Quote 0
                1 Reply Last reply
              • 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
                                            • 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-