How to add favorites code in js browser
Js browser to add favorites code how to write, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Function addfavorite () {if (document.all) {window.external.addFavorite ('http://www.XXX.com','XXX');} else if (window.sidebar) {window.sidebar.addPanel (' XXX', 'http://www.XXX.com', "");}} add to the collection
1. The href attribute is the connection address after adding favorites.
2. Compatible with ie, Firefox and Google browser
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.