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
In the MySQL documentation, MySQL variables can b...
Just as the title says. The question is very stran...
React project building can be very simple, but if...
This article mainly introduces the case of Vue en...
Installation path: /application/mysql-5.5.56 1. P...
1. Add in package.json "main": "el...
Table of contents 1. Prototype chain inheritance ...
ClickHouse is an open source column-oriented DBMS...
1. Download the 64-bit zip file from the official...
I believe everyone has had this feeling: watching ...
I've been writing a WeChat applet recently an...
Variables defined in SASS, the value set later wi...
Continuing from the previous article, we will cre...
Install MySQL for the first time on your machine....
illustrate: There are two main types of nginx log...