1

I'm trying to make an extremely simple Safari extension that open the favourites page (the equivalent of Bookmarks > Show favourites), as that's what I think of as my home page and I'd like a button on the toolbar to do that, rather than have to do it via the menu.

Is there a javascript command to open this window or, failing that, to access the menu bar button so it can be clicked?

1

Navigate to the URL topsites://.

document.location.href = "topsites://";

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .