You are here

[Fixed] Google Chrome Portable not passing links longer than about 1k

4 posts / 0 new
Last post
notech
Offline
Last seen: 1 year 3 months ago
Joined: 2021-08-12 13:19
[Fixed] Google Chrome Portable not passing links longer than about 1k

I set google chrome portable as my default browser. When you click a link outside, like in your email client, the link will be directed to google chrome portable. One thing really annoys me is when the length of the hyperlink exceeds 1024 (I guess?), it will trim the string automatically. In current days, the length can easily exceed 1024. Any suggestion to work around this?

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 18 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Currently

Chrome Portable's launcher is still compiled with an older version of NSIS which can only handle a max string length of 1024. The launcher will be rewritten at some point but it's a bit of a mess and Chrome itself is a bit messy portably, so it could be a while. The total length of the EXECSTRING is a limitation here, not just the URL: "$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" --user-data-dir="$PROFILEDIRECTORY" So, if you're in a deep path, making it more shallow will buy you more room. There's some outdated code for plugins in there that will take some of the space, too. I'll see about slimming that down in an upcoming release.

Out of curiosity, what are you passing in that is so long? It's rare to see a URL that length passed from another app.

Sometimes, the impossible can become possible, if you're awesome!

notech
Offline
Last seen: 1 year 3 months ago
Joined: 2021-08-12 13:19
Like package tracking, the

Like package tracking, the links sent by homedepot.com are far longer than 1024. Also some of the updates sent by automotive forums I am interested in are also longer than that limit.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 18 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Should be Fixed

This should be fixed or at least alleviated in today's release of Google Chrome Portable 92.0.4515.159. I pulled out all the deprecated plugin handling and switched it to being built with the NSIS 8k string compiler instead of the standard which is 1k. Give it a try with your longer links.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments