Im no sabe de ninguna, pero me enganchó este javascript desde aquí (la secuencia de comandos de Su que establece la página de inicio de la página principal del sitio - no la nota de su página actual - ya que su vínculo absoluto, debería ser capaz de hacer esto para cualquier página - la misma manera la gente sin escrúpulos no):
http://www.soapoperadigest.com/setup/Tal vez el código fuente le dará algunas ideas:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (document.all){
document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.soapoperadigest.com\');">');
document.write('<B><CENTER>Click This Link to Automatically <BR>Make Soap Opera Digest & Weekly Your Homepage</CENTER></B></a>');
}
else if (document.getElementById){
document.write('<a href="http://www.soapoperadigest.com"><CENTER>Drag this link onto your <B>Home</B> button to automatically <BR>make Soap Opera Digest & Weekly your Home Page.</CENTER></a>');
}
else if (document.layers){
document.write('<b><CENTER>Make Soap Opera Digest & Weekly your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
}
else {
document.write('</CENTER><b>Make Soap Opera Digest & Weekly your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
}
// End -->
</script>
- <SCRIPT LANGUAGE="JavaScript">
- <!-- Begin
- if (document.all){
- document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.soapoperadigest.com\');">');
- document.write('<B><CENTER>Click This Link to Automatically <BR>Make Soap Opera Digest & Weekly Your Homepage</CENTER></B></a>');
- }
- else if (document.getElementById){
- document.write('<a href="http://www.soapoperadigest.com"><CENTER>Drag this link onto your <B>Home</B> button to automatically <BR>make Soap Opera Digest & Weekly your Home Page.</CENTER></a>');
- }
- else if (document.layers){
- document.write('<b><CENTER>Make Soap Opera Digest & Weekly your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
- }
- else {
- document.write('</CENTER><b>Make Soap Opera Digest & Weekly your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
- }
- // End -->
- </script>
Mi primer pensamiento sería hacer una página HTML sencilla con este script incluido, pero cambiar la URL a la que desea establecer y les digo que haga clic en él.
En otras palabras:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (document.all){
document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://charter.msn.com\');">');
document.write('<B><CENTER>Click This Link to Automatically <BR>Make CHARTER.MSN.COM Your Homepage</CENTER></B></a>');
}
else if (document.getElementById){
document.write('<a href="http://charter.msn.com"><CENTER>Drag this link onto your <B>Home</B> button to automatically <BR>make CHARTER.MSN.COM your Home Page.</CENTER></a>');
}
else if (document.layers){
document.write('<b><CENTER>Make CHARTER.MSN.COM your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
}
else {
document.write('</CENTER><b>Make CHARTER.MSN.COM your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
}
// End -->
</script>
- <SCRIPT LANGUAGE="JavaScript">
- <!-- Begin
- if (document.all){
- document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://charter.msn.com\');">');
- document.write('<B><CENTER>Click This Link to Automatically <BR>Make CHARTER.MSN.COM Your Homepage</CENTER></B></a>');
- }
- else if (document.getElementById){
- document.write('<a href="http://charter.msn.com"><CENTER>Drag this link onto your <B>Home</B> button to automatically <BR>make CHARTER.MSN.COM your Home Page.</CENTER></a>');
- }
- else if (document.layers){
- document.write('<b><CENTER>Make CHARTER.MSN.COM your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
- }
- else {
- document.write('</CENTER><b>Make CHARTER.MSN.COM your home page:</b><br>- Click below to go to our home page<br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.</CENTER>');
- }
- // End -->
- </script>
Eso es probablemente no es del todo perfecto, pero tal vez algo como eso.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.