Comments (20)
However, if Chrome runs from a link in an e-mail, say, it seems to not open correctly, and specifically, your DLL is not loaded.
Is that expected behaviour?
No. Chrome++ works fine on my machine.
Please provide the complete chrome++.ini information.
from chrome_plus.
OK, thanks for the quick response!
Here is my ini file.
One thing I should perhaps mention which I did notice when I was configuring it was that the line -
CommandLine=--user-data-dir=C:\Progra~1\Google\Chrome\UserData
did not work if the normal path format was used, even when enclosed in quotations.
I found it only worked if I used 8.3 'DOS' names, as above.
I don't know if that is significant.
Cheers, Dave.
from chrome_plus.
from chrome_plus.
Understood, I've now removed that entry from the INI file.
It hasn't made any difference to the issue though.
If I run Google Chrome from its shortcut, and look at the 'about' setting, I see this, which is presumably correct.
If I click on a link in an e-mail in the Outlook app, Chrome opens but when I look in the same place I see this, so Chrome Plus is not loading.
Any idea why this would be?
Cheers, Dave.
from chrome_plus.
You may go to chrome://version/ and share the screenshots.
from chrome_plus.
OK, here's chrome://version/ when Chrome is run from its shortcut.
And this is chrome://version/ when Chrome is run from an e-mail link in the Outlook app.
As you can see it's targetting a page on the MSFN forum.
I hope this helps!
Cheers, Dave.
from chrome_plus.
I tested the installation from the official Google source in a virtual machine - adding version.dll and chrome++.ini (you can check if the location where you placed the DLL matches mine) - setting it as the default browser - launching from an external link. As shown in the image below, everything works fine.
Hence I believe the issue lies with your local environment. Unfortunately, you might need to troubleshoot why the DLL is not loading correctly.
Attached is the default registry content for Chrome installed in my virtual machine:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --single-argument %1
Additionally, if you need to create a portable version, I may not recommend using the online installer from Google. A better approach is to use the offline installation package from https://github.com/Bush2021/chrome_installer. You can extract it twice using 7-Zip to obtain three items from Chrome-bin and then place them in the App folder from https://github.com/Bush2021/chrome_plus/releases. You can place it on the D drive, etc., to avoid conflicts with official version data files, as well as preventing the DLL from becoming invalid due to automatic updates.
from chrome_plus.
Thank you so much for doing these tests.
It does look like there is something on my system which is causing this, it's obviously not the normal expected behaviour!
There are other anomalies too. When Chrome is run from an e-mail link it not only doesn't load your DLL, it also opens with the sync disabled, which means that a lot of extensions do not load.
I modified the command line at HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command as otherwise it generates a new clean user data folder in the default location, as it's your DLL which is telling it where the data folder should be.
Very odd.
I think what I will do as a test is set it up using the default user data folder location, remove all the stuff about scaling, and see what happens with an apparently standard installation.
If the problem is still there then, I don't know what to do!
Am I right in assuming that when a link is clicked in an e-mail on Windows 10, the default browser is simply run using the command in HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command (if Chrome is the default browser)?
There's no other command paths involved anywhere?
Thanks again.
Cheers,
Dave.
from chrome_plus.
There are other anomalies too. When Chrome is run from an e-mail link it not only doesn't load your DLL, it also opens with the sync disabled, which means that a lot of extensions do not load.
I modified the command line at HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command as otherwise it generates a new clean user data folder in the default location, as it's your DLL which is telling it where the data folder should be.
The issue with your computer is that, in some instances, the DLL is not loading correctly. When this happens, Chrome defaults to its standard settings, so "it generates a new clean user data folder in the default location" is the expected behavior. Since the original User Data and the portable version's User Data are not compatible, mixing their data when the DLL fails to load properly can cause corruption. This is also why Chrome repeatedly toggles synchronization. Therefore, it is best not to modify anything other than chrome++.ini, including the registry.
I think what I will do as a test is set it up using the default user data folder location, remove all the stuff about scaling, and see what happens with an apparently standard installation.
Yes you may try this approach, but it is recommended to use a virtual machine to eliminate environmental interference. Alternatively, use my method below: download this 7z package (https://wormhole.app/O2O4P#tkpO-cLsuaAG8PeYfcTeuA) - extract it to a directory with appropriate permissions - copy all contents from your original User Data to the Data folder - set it as the default browser and try again.
Am I right in assuming that when a link is clicked in an e-mail on Windows 10, the default browser is simply run using the command in HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command (if Chrome is the default browser)?
There's no other command paths involved anywhere?
Generally speaking, yes. And I don't think the issue with your computer is related to the command line; it should not affect DLL loading.
from chrome_plus.
OK, thanks again.
I tried restoring everything to standard using my existing installation of Google Chrome, and the result was the same.
I even tried copying the Command Line stated in Chrome://version when it was working correctly into HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command.
Then when I ran Chrome from its shortcut, and when I ran it from an e-mail link, what was in the Command Line in Chrome://version was absolutely identical.
Still the former loaded version.dll but the latter did not load version.dll.
I cannot think of a single reason why this would be when Chrome is apparently being run with exactly the same parameters!
I have downloaed the version in your previous messgae, and i will now try with that to see if it does the same thing.
As you say, it could be something to do witht he fact that i'm using the standard Google dowload of Google Chrome.
Cheers, Dave.
from chrome_plus.
OK, I've downloaded the version you linked to, completely cleaned the system of the original installation of Google Chrome.
I now have what I assume is a completely portable version, which works fine when run from its shortcut.
The only problem is that you say to set it as my default browser.
How do I do that? If I use the option in the program, it just opens the Windows default apps settings, but of course Chrome is now no longer in the list of possible default browsers, as it now has no registry entries!
from chrome_plus.
@DaveH1 After clicking the corresponding option in Chrome, it will redirect to Windows Settings. There should be an entry for the newly added portable version of Chrome. Simply set it as the default.
from chrome_plus.
It's not there I'm afraid.
I'm not sure how it would be, as surely the portable version doesn't write the necessary registry entries?
Cheers, Dave.
from chrome_plus.
It's not there I'm afraid. I'm not sure how it would be, as surely the portable version doesn't write the necessary registry entries? Cheers, Dave.
Okay... You may try https://github.com/sil3nc3/PortableRegistrator .
from chrome_plus.
Thanks, what a great utility!
It seems to have worked, but the problem is still there.
When I run Chrome with its shortcut, all is fine.
When I click on a link in an e-mail, Chrome opens the wrong size and position, and asks me to sign in.
Your DLL does not load, and it consequentially generates a new clean User Data folder in the default location.
Again, I have absolutely no idea why it's doing this, and why it doesn't do it on your system.
I'm now completely at a loss, and searches don't seem to find anything relevant.
Any more suggestions gratefully received!
This is what chrome://version looks like on the version of Chrome which opens from e-mail links.
It all looks as expected I guess.
The whole problem seems to be being caused by your DLL not loading when Chrome is run this way, at least on my system.
When Chrome is run normally from a shortcut, how does it know that the DDL is there?
Whatever that mechanism is, it's presumably not working when Chrome is run from a link on my system.
from chrome_plus.
@DaveH1 Try https://github.com/Bush2021/chrome_plus/tree/main/setdll and follow the steps in the instructions. Of course, you may first delete the current version.dll. If there are still issues, then I'm afraid I can't help further.
from chrome_plus.
Thanks, I will give that a try and report back.
from chrome_plus.
Thank you, that has fixed it!
I don't know what was wrong before, perhaps I didn't do something that I should have done when I first started using Chrome Plus. All I did was just copy the DLL to the folder when chrome.exe was, with the INI file, and that seemed to work, at least when Chrome was run from a shortcut.
Anyway, it all seems to be working fine now, even from the links in e-mails.
I hope this helps anyone else who has the same issue.
Just an off-topic aside, would you recommend sticking with the portable version of Chrome that you linked to, rather than installing the full version from Google again?
What happens with updates? There seems to be no update check now when Chrome runs.
Cheers, and thanks for all the help here.
Dave.
from chrome_plus.
Generally speaking, I recommend that all users use the offline installer without the automatic update component to create a portable version, as chrome++ might become invalid due to changes in Chrome’s interface. It is advisable to back up and test before manually updating. You may also check out this tool: https://github.com/libsgh/chrome_updater.
For users like you who have to use setdll for various reasons, you need to rerun inject.bat each time you update Chrome to ensure the DLL loads correctly. Updating chrome++ does not require resetting setdll.
That’s all. Closing this issue as resolved.
from chrome_plus.
Thank you so much.
I will stick with the portable version.
Apart from anything else, it gets rid of the bloat of the Google Update services!
Can I ask just one more thing, again off-topic.
You say that your DLLs will not work on Windows XP. I use Thorium Legacy on the XP side of my multi-boot machine, and I'd love to be able to use Chrome Plus with that.
Is that just because of the way they're compiled, or are there more fundamental reasons?
If it's the former, could an XP compatible version be compiled?
Cheers, Dave.
from chrome_plus.
Related Issues (20)
- Edge 能支持吗 HOT 1
- supermium浏览器 HOT 3
- Can it be used on Thorium and Brave? HOT 1
- Support for policies in portable mode
- 建议增加右键点击的快捷功能 HOT 6
- Chromium 126.x - Error STATUS_DLL_INIT_FAILED HOT 6
- right_click_close 启用,右键关闭tab似乎有bug HOT 5
- 如何增大扩展popup的高度? HOT 8
- 如何增大扩展popup的高度?
- STATUS_ACCESS_VIOLATION HOT 10
- Not Working in 32 bit Thorium or Supermium HOT 2
- 左上角的搜索标签页关闭不了 HOT 1
- 右键关闭标签和MouseInc鼠标手势冲突导致无效 HOT 1
- [edge反馈] edge插件可用,希望作者再优化优化。谢谢~
- 无痕模式下无法写入Win10剪贴板历史记录 HOT 2
- BUG 搜索框自动关闭 HOT 1
- 疑似BUG commandline= 后面写网址,不能识别 HOT 1
- Chrome 126版本 打印预览失败 HOT 3
- Chrome 126版本 打印预览失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome_plus.