Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Sep 2011
    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Copying browser favorites to a db from javascript

    Hi,

    I have a requirement where, on a link, when the user clicks, the app should copy all browser favorites and write to a db (table that has two columns, one with fav name and one col for the website link).

    Thoughts on how to get this done ? How can I read the the browser favorites from a javascript ?

    Thanks,
    Deepna

  • #2
    Regular Coder
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    448
    Thanks
    24
    Thanked 63 Times in 63 Posts
    Stalker much?

    JK, I don't have any input here, just had to make a funny

  • #3
    New Coder
    Join Date
    Sep 2011
    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Its more of a documentation requirement, a way to backup favorites and restore at any point of time.....

  • #4
    Regular Coder
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    448
    Thanks
    24
    Thanked 63 Times in 63 Posts
    Sorry, couldn't help myself, I hope the following will make amends:
    http://tycoontalk.freelancer.com/jav...favorites.html
    I found especially useful the following:
    Just to add......

    You can't use client-side JavaScript to read directories.
    Reading bookmarks/favorites is a privacy issue so will not be supported in client-side JavaScript.
    and:
    Hmm, well ok, let me confirm:

    It IS possible to make directories, add files, execute DOS programs from client side Javascript. The issue is to make HTA applications instead of a htm pages.
    r
    so, maybe an HTA app in the "Trusted Zone"...

  • Users who have thanked blaze4218 for this post:

    deepna (09-26-2011)

  • #5
    New Coder
    Join Date
    Sep 2011
    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Thanks blaze, let me explore further if i get something will post here....

    Thx
    Deepna

  • #6
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,596
    Thanks
    80
    Thanked 4,633 Times in 4,595 Posts
    Can be done with MSIE only, but again only if the site presenting the HTML page is *highly* trusted and even then only if the user allows it.

    In general, though, this would best be done with an executable program, not browser-based code, at all. It's not an appropriate task for a browser based application.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •