Fri, 17 May 2024
NetArt Media     Pay 2, Get 3!    


How to write a Javascript code for adding a link to favorites.?

By: Anton, NetArt Media
Sat, 4 July 2020

Javascript code snippet for a link to add to favorites.


<script>

var favoriteurl="http://zamov.online.fr”
var favoritetitle="NetArt Media”

document.write("<a href='javascript:window.external.AddFavorite(favoriteurl, favoritetitle);'>Add to Favorites!</a>");


</script>


Category: Javascript
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox