Can't integrate Download Manager into Opera
-
leocg Moderator Volunteer 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?
-
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.
-
wealstarr 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.
-
wealstarr 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.
-
leocg Moderator Volunteer last edited by
@wealstarr What do you mean by *extensions can't communicate outside of browser.. *?
-
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.
-
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.
-
wealstarr 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 ?
-
wealstarr 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
-
burnout426 Volunteer 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?
-
wealstarr 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=enThanks again. This means alot
-
wealstarr 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 -
burnout426 Volunteer 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.
-
burnout426 Volunteer 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.
-
burnout426 Volunteer 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.
-
wealstarr 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, -
burnout426 Volunteer 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).
-
wealstarr 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.
-
burnout426 Volunteer 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.