You are here

Google Chrome Portable - How to launch a local file as homepage?

5 posts / 0 new
Last post
manuel1982
Offline
Last seen: 13 years 10 months ago
Joined: 2008-04-02 11:16
Google Chrome Portable - How to launch a local file as homepage?

Hi,
I'm trying to setup a CD with Google Chrome Portable (using the stable).
Google Chrome should startup with an HTML file that is located on the disk.

I tried to do this via
[code]
AdditionalParameters=--homepage=file:////%PAL:DriveLetter%//index.html
[/code]

but this didn't work.

Does anybody know how to achieve this?

Thanks in advance!

Regards
Manuel

Aluísio A. S. G.
Offline
Last seen: 8 years 4 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Try without drive letter

Can you try using --homepage=\index.html?

Previously known as kAlug.

3D1T0R
3D1T0R's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2006-12-29 23:48
Multiple Problems, 3rd one is major
  1. The file protocol has 3 "/"s
  • where http is "http://", file protocol is "file:///"
  • Use "/", not "//"
    • No need to escape /s here as the launcher adds this value verbatim to the end of the command-line
  • %PAL:DriveLetter% is part of the PortableApps.com Launcher
  • After some testing I'm thinking that you would probably have to rewrite the launcher to make this work.

    ~3D1T0R

    Chris Morgan
    Chris Morgan's picture
    Offline
    Last seen: 9 years 5 months ago
    Joined: 2007-04-15 21:08
    Not using PAL

    Google Chrome Portable isn't currently using PAL, so its environment variables aren't available (and it won't expand environment variables at all, either).

    I am a Christian and a developer and moderator here.

    “A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

    NXSmiggy
    Offline
    Last seen: 12 years 9 months ago
    Joined: 2012-03-08 10:33
    Did anyone get this working?

    Did anyone get this working? i'm looking for the same thing but via USB drive

    Log in or register to post comments