Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

js add to favourites bookmark

10:01 pm on Nov 1, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 8, 2001
votes: 0

As you can see from a couple of messages in this thread, I've been trying to find an 'add to favourites' bookmark that will work with Netscape.

I think I have found an answer (well, sort of) on the Macromedia site, contained within their 'extensions' for Dreamweaver.

Sorry for the 'longhand link', but the pages containing the script are dynamically generated:

www.macromedia.com > Resources > Dreamweaver resources > select 'all categories > on the first page is an extension called 'add to faves'.

You have to 'register' with the site to download the extension.

It works by creating a link which calls a Javascript which with IE opens the favourites menu direct (just like the usual 'addfavourite' option) but for Netscape it opens a small pop-up window containing the page to be bookmarked plus some guidance text saying something like... 'to bookmark this page use ctrlD or the bookmark menu in this window...'.

It is a means to an end, but I can see a couple of limitations:

Firstly, it seems as though the actual link has to be placed at the top of the HTML page. If this isn't done, the page content itself obscures the guidance text potentially leaving the user a bit confused as to what has just happened!

Secondly, it bookmarks an individual page only rather than a frameset.

Because I am extremely 'Java challenged' I wondered if it could be configured to use an 'absolute' external URL to bookmark a frameset or if the script could be amended to allow placement of the 'add to favorite' link anywhere on the page.

If you good people find this of use, I would be extremely grateful for guidance on how to amend the script to work as described above.

I was considering pasting the script into a posting, but wasn't sure if this was ethical as I am obviously not the author of this extension.

all the best


1:06 am on Nov 2, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

Unfortunately, there is no way to create an automatic bookmark link that works in any other browser except IE on Windows. The best you can offer is give the non-IE user some instructions.

Here's the reason: Microsoft wrapped the IE browser into the the Windows operating system. They even got sued for it. But because of this OS integration, Microsoft's jScript (their proprietary version of JavaScript) has access to all kinds of things that other browsers don't -- including Favorites. It also means several big security holes, like the one that lets you catch the Nimda virus just from visiting a web page with IE.

I much appreciate your quest. Many of us have been on it -- but the news has always been the same.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members