View Full Version : "Bookmark Site script" does not work for me

01-25-2016, 01:59 AM
1) Script Title: Bookmark Site

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex9/addbook.htm

3) Describe problem: The Bookmark Site script does not work for me. Can anyone tell me what I'm doing wrong? The webpage I'm using it on is the main (index.htm) page at: http://tiny.cc/timeanddate (shortened URL) and the script is in files/bookmark.js. I include it in the webpage as shown below. (I am using Firefox 43.0.4.)

<script type='text/javascript' src='files/bookmark.js'></script>

<a href="javascript:bookmarksite('Time Zones and the International Date Line Part 1', 'http://tiny.cc/timeanddate')"> Bookmark this page</a>.

The code in the .js file is copied exactly as is from the DD script page, minus the html <script> and </script> tags.

01-25-2016, 09:41 PM
This is a very old script, so I'm not surprised it may not work anymore in some browsers. In fact, I think in modern browsers on Desktop, there is no longer any reliable way to bookmark a page via scripting. I dug around, and maybe this post might be helpful to you: https://www.thewebflash.com/how-to-add-a-cross-browser-add-to-favorites-bookmark-button-to-your-website/