...

View Full Version : AddFavorite doesn't work anymore



tsclan
05-26-2006, 01:50 AM
I am currently trying to make a bookmark link using the window.external.AddFavorite method but I always get the same error message "Object doesn't support this property or method".

Has window.external.AddFavorite been removed from IE?

This example doesn't work
http://www.yourhtmlsource.com/javascript/addtofavorites.html
Same with this
http://www.dynamicdrive.com/dynamicindex9/addbook.htm

Both examples from popular sites both not working for me, there must be something wrong. Could it be my settings?

Thanks for any help you can give

boxxer03
05-26-2006, 02:37 AM
I use 'window.external.AddFavorite(url,page_title)' for IE and it works fine.

You should post the code exactly as your posting it on your site, on here, so we can get a better look at it.

tsclan
05-26-2006, 03:26 PM
Well the example given here
http://www.yourhtmlsource.com/javascript/addtofavorites.html

Uses this code

<a href="javascript:window.external.addFavorite('http://www.website.com','Website Title');">
Click here to add the homepage to your favorites!</a>

And I get an Internet Explorer Script Error saying "Object doesn't support this property or method". If it works for you then it must be some setting that's gone wrong on my computer but I have no idea what.

I am using IE 6.0.3790.1830 if that helps.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum