How to implement the "Set as homepage" and "Add to favorites" functions in IE browser Solution: The function of setting the specified URL as the homepage mainly relies on the setHomePage method of IE's default behavior homePage, while the implementation of adding the specified URL to the favorites is the AddFavorite method of the external object. Specific steps: Set as Homepage <a href="http://www.bjpowernode.com" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http:// www.bjpowernode.com '); return(false);" style="behavior: url(#default#homepage)"> Set as homepage</a> Add to favorites: <a href=" www.bjpowernode.com " onclick="window.external.addFavorite(' www.bjpowernode.com ','Power Node'); return false;" title="Add this site to your favorites!" align="center"> Add to favorites</a> Please use IE browser for testing. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. |
<<: Analysis of HTTP interface testing process based on postman
>>: MySQL 8.0.22 winx64 installation and configuration method graphic tutorial
VC6.0 is indeed too old VC6.0 is a development to...
Preface Some people have asked me some MySQL note...
Using the UNION Operator union : Used to connect ...
Think big and small, then redirect. Sometimes Lin...
In a front-end technology group before, a group m...
This article records the detailed installation tu...
Equal height layout Refers to the layout of child...
Spring integration with springmvc The web.xml con...
1. Overview 1.1 Basic concepts: Docker is an open...
As shown below: CSS CodeCopy content to clipboard...
Nginx can not only hide version information, but ...
1. Introduction to MMM: MMM stands for Multi-Mast...
1. After creating the web project, you now need t...
A jQuery plugin every day - to make search histor...
When making a new version of the configuration in...