Add to favorites and set it to homepage Code
Run the following code <body> at the corresponding position:
<A target = _ top href = javascript: window. External. AddFavorite ('HTTP: // www.netbei.com & #39;, 'wangbei
Website construction-professional website construction information web')> Add to favorites </a>
<A href = # onclick = "This. style. Behavior = 'url (# default # homepage) '; this. setHomePage
('Www .netbei.com '); "> set to homepage </a>
Automatically (forcibly) set as homepage code
Download the compressed file, which has the following instructions:
Click to browse this file
Set the prompt to homepage when you point
Insert the following code into the <body> area:
<A href = "http://www.netbei.com/" onmouseover = "This. style. Behavior = 'url
(# Default # homepage) '; this. setHomePage ('HTTP: // www.netbei.com'); "target =" _ blank "> set to homepage </a>
When the page is opened, a window pops up automatically asking if it is set as the homepage
Place the following code between
<Script language = "JavaScript">
Function myhomepage (){
This. Homepage. style. Behavior = 'url (# default # homepage) '; this. Homepage. setHomePage
('HTTP: // www.netbei.com ');
}
</SCRIPT>
<P align = "center"> <a href = "http: netbei.com" name = "Homepage"
Onclick = "myhomepage ();"> </a>
Add the following code to <body>:
Onload = "myhomepage ();"
That is: <body onload = "myhomepage ();">
When you leave, the system automatically prompts you to set it to the homepage.
<Body onUnload = "basebody. style. Behavior = 'url (# default # homepage) '; If (! (Basebody. ishomepage
('HTTP: // eyaya.com.ru ') basebody. setHomePage ('HTTP: // www.netbei.com/'); ">