Laucnhing bookmark manager programmatically?

572 views
Skip to first unread message

IlkkaH

unread,
Jun 6, 2010, 7:17:30 AM6/6/10
to Chromium-extensions
Hi,

GC has this bookmark manager, which can be launched from the "tools"
menu or from some context menus.

I'm wondering if I can launch from the extension, programmatically?
Well, the chances may be pretty slim, but still...

The intent is to avoid duplicating that same functionality in my own
extension when I could take use of the existing functionality - the
manager seems to be OK.

Thanks,
Ilkka

PhistucK

unread,
Jun 6, 2010, 8:29:20 AM6/6/10
to IlkkaH, Chromium-extensions
Mmm...
You can just window.open("chrome://bookmarks"), can you not?
Or window.open("chrome-extension://eemcgdkfndhakfknompkggombfjjjeno/main.html") maybe?

☆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.


IlkkaH

unread,
Jun 6, 2010, 9:22:12 AM6/6/10
to Chromium-extensions
Whoops, that worked, I'm a newbie obviously.

Although I would have liked to open it in the same tab (like
location.replace, which didn't seem to work, perhaps because of
permissions), but chrome.tab.create worked OK.

Thanks PhistucK.

On Jun 6, 3:29 pm, PhistucK <phist...@gmail.com> wrote:
> Mmm...
> You can just window.open("chrome://bookmarks"), can you not?
> Or
> window.open("chrome-extension://eemcgdkfndhakfknompkggombfjjjeno/main.html" )
> maybe?
>
> ☆PhistucK
>
>
>
> On Sun, Jun 6, 2010 at 14:17, IlkkaH <ilk...@gmail.com> wrote:
> > Hi,
>
> > GC has this bookmark manager, which can be launched from the "tools"
> > menu or from some context menus.
>
> > I'm wondering if I can launch from the extension, programmatically?
> > Well, the chances may be pretty slim, but still...
>
> > The intent is to avoid duplicating that same functionality in my own
> > extension when I could take use of the existing functionality - the
> > manager seems to be OK.
>
> > Thanks,
> > Ilkka
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.
> > To post to this group, send email to chromium-extensi...@chromium.org.
> > To unsubscribe from this group, send email to
> > chromium-extensions+unsubscr...@chromium.org<chromium-extensions%2Bunsubscr...@chromium.org>
> > .

Daniel Wagner-Hall

unread,
Jun 6, 2010, 9:27:50 AM6/6/10
to IlkkaH, Chromium-extensions
Try:

chrome.tabs.update({url: "chrome://bookmarks"})

> To post to this group, send email to chromium-...@chromium.org.


> To unsubscribe from this group, send email to

> chromium-extens...@chromium.org.

IlkkaH

unread,
Jun 6, 2010, 9:44:50 AM6/6/10
to Chromium-extensions
Oops, solutions are easy today. I should have thought of that.

Thanks :)
> > chromium-extensions+unsubscr...@chromium.org.
Reply all
Reply to author
Forward
0 new messages