Access Chrome Homepage URL

6,920 views
Skip to first unread message

Jigar

unread,
Mar 23, 2012, 7:22:38 AM3/23/12
to Chromium-extensions, myun...@googlemail.com
Hi,

I want to access the value of Chrome Homepage URL

[Homepage URL means what I configure in "chrome://settings/browser"
Options --> Home page --> Open this page"]


Is there any way or API I can get that value in my extension?

Best Regards,
Jigar.

Devin

unread,
Mar 23, 2012, 1:02:09 PM3/23/12
to Chromium-extensions
Looks like there isn't. Should be in *.management. It was asked before
https://groups.google.com/forum/?fromgroups#!topic/chromium-extensions/Rat2DgMstDg

BUT, I may be wrong, checkout http://code.google.com/chrome/extensions/override.html

Maybe you can create a new hidden window in the background (a
'popunder') and grab the url that starts loading (I use the default
new tab page, btw)

PhistucK

unread,
Mar 24, 2012, 3:53:48 AM3/24/12
to jigar22....@gmail.com, Devin, Chromium-extensions
I believe there is currently no way to do that.

The management API is for extension related properties and settings, not the the regular Chrome homepage.

Your suggestion would not work for those who choose to automatically restore their last session.

PhistucK



--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Jigar

unread,
Mar 30, 2012, 6:21:33 AM3/30/12
to Chromium-extensions
Hi, Thanks for the Reply,

So is there any other solution to do it ?
OR has anyone submitted a feature request ?

I would like to know..

Regards,
Jigar.

PhistucK

unread,
Mar 30, 2012, 7:03:32 AM3/30/12
to Jigar, Chromium-extensions
You can search crbug.com for a feature request.

PhistucK




Regards,
Jigar.

Reply all
Reply to author
Forward
0 new messages