Looking for a Bookmark script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ditosta
    Confirmed User
    • May 2006
    • 2107

    #1

    Looking for a Bookmark script

    Does anyone know of a good bookmark script that can bookmark the page you are currently on without having to hard code the URL ?

    Right now I am using javascript and I have to put the url like this

    javascript:bookmarksite('mysite', 'http://mysiteurl.com')
    306213883

    New Pantyhose Fetish Model
    LilyDouce.com Rhinopays.com
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55679

    #2
    for your browser? or your actual site, if its your site, you can get the current url say domain.com/teen/videos.html

    and get the title
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • Jdoughs
      Confirmed User
      • Mar 2004
      • 5794

      #3
      Originally posted by Ditosta
      Does anyone know of a good bookmark script that can bookmark the page you are currently on without having to hard code the URL ?

      Right now I am using javascript and I have to put the url like this

      javascript:bookmarksite('mysite', 'http://mysiteurl.com')
      PHP Code:
      <script type="text/javascript">
      function bookmarksite()
      {
               if (document.all)
              {
                   // For IE
                   window.external.AddFavorite(location.href, document.title);
               }
              else if (window.sidebar)
             {
                   // For Firefox
                   window.sidebar.addPanel(document.title, location.href, "");
              }
      }
      </script> 
      
      And then where you want it to show:

      PHP Code:
          <a href="javascript:bookmarksite();"> Bookmark Us!</a> 
      
      LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250
      Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month.
      AmeriNOC - Proudly hosted @ AmeriNOC!

      Comment

      • Ditosta
        Confirmed User
        • May 2006
        • 2107

        #4
        Originally posted by Jdoughs
        PHP Code:
        <script type="text/javascript">
        function bookmarksite()
        {
                 if (document.all)
                {
                     // For IE
                     window.external.AddFavorite(location.href, document.title);
                 }
                else if (window.sidebar)
               {
                     // For Firefox
                     window.sidebar.addPanel(document.title, location.href, "");
                }
        }
        </script> 
        
        And then where you want it to show:

        PHP Code:
            <a href="javascript:bookmarksite();"> Bookmark Us!</a> 
        
        Thanks a million!
        306213883

        New Pantyhose Fetish Model
        LilyDouce.com Rhinopays.com

        Comment

        • VladS
          Available for Coding Work
          • Jun 2008
          • 1459

          #5
          You could also check out addthis.com
          <developer> MechBunny / KVS / PHP / MySQL / HTML5 / CSS3 / jQuery
          Email: vlad [at] dangerouscoding.com
          Telegram: @dangerouscoding

          Comment

          Working...