Blog dedicated to the protection of web sites.
favorite and startpage

On many websites you can find special links, by clicking where the page is automatically added to your favorites or set as a page in your browser. Insertion of this script is quite simple. Simply paste it anywhere on the page:

Select the code

<script type=”text/javascript”>

/ / <! [CDATA [

var address = ‘web address’;

var title = ‘Page Title’;

var favorite = ‘Add to favorites’;

var page = ‘Set as start page’;

var template = ‘{FAVORITE} <br /> {HOME}’

if (adres.toLowerCase (). indexOf (‘http://’)! = 0) Address = ‘http://’ + address;

var browser = navigator.userAgent;

ie_ver var = 0;

if (przegladarka.indexOf (“MSIE”)! = -1 && przegladarka.indexOf (“)”) == -1) ie_ver = parseInt (przegladarka.substring (przegladarka.indexOf (“MSIE”) +5));

if (ie_ver> = 4) document.write (szablon.replace (/ \ {FAVORITE \} /, ‘<a href = “javascript: void (0)” title = “Add to favorites” onclick = “window.external . addFavorite ('’ + address + ‘', '’ + title + ‘') return false ‘onmouseover = “window.status = ' Add to favorites "; return true “onmouseout =” window . status = \ ‘'; return true “> ‘+ favorite +’ <’+’ / a> ‘). replace (/ \ {HOME \} /,’ <a href =” javascript: void (0) “title = “Set as start page” onclick = “this.style.behavior = " url (# default # homepage) \ ‘; this.setHomePage ('’ + address +’ \ ‘) return false’ onmouseover = “window.status = \ ‘Set as start page \ “; return true” onmouseout = “window.status = ' \ ‘; return true”>’ + page + ‘<’ + ‘/ a>’));

/ /]]>

</ script>